ADO.NET does not supports this kind of functionality. It's possible to use queris togheter with
DAO[
^] (not recommended, because it's very old).
You need to pass entire code of query to
OleDbCmmand.CommandText
.
Here is quite interesting tutorial:
Using ADO.NET for beginners[
^]