ExecuteJoinedDataSet but using Where ()

I did some searches and saw that ExecuteJoinedDataSet would not work with Where clause in 2.1. If I want to query a table with WHERE, but I want the values ​​of the FK objects to be bound, this is the easiest way to create my own class (my table contains many FK references).

0


a source to share


1 answer


Could you please provide an example of what kind of query you are trying to write? If you are just trying to return a DataTable without creating a custom class, then just write your query and use the ExecuteReader that returns the IDataReader. IDataReader is a binder, and if you need more, you can simply load it into the DataTable.



0


a source







All Articles