Reputation: 62554
i have dataset that contain data.
i need to run any query on this DataSet.
thank's in advance
Upvotes: 0
Views: 896
Reputation: 378
You can use DataTable.Select if you need output from one table only. If the query criteria and primary key are the same, then DataTable.Rows.Find will work much faster
If you need a join between different tables in DataSet, then Linq to dataset will be the answer
Upvotes: 0
Reputation: 50323
Maybe you are looking for the DataTable.Select method. Alternatively, you can take a look at LINQ to Dataset.
Upvotes: 3