Gold
Gold

Reputation: 62554

how to run any query on DataSet?

i have dataset that contain data.

i need to run any query on this DataSet.

thank's in advance

Upvotes: 0

Views: 896

Answers (3)

Valery
Valery

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

user1228
user1228

Reputation:

Linq to DataSet?

Upvotes: 1

Konamiman
Konamiman

Reputation: 50323

Maybe you are looking for the DataTable.Select method. Alternatively, you can take a look at LINQ to Dataset.

Upvotes: 3

Related Questions