Link to home
Start Free TrialLog in
Avatar of newstandard
newstandard

asked on

c# query a .NET dataset

I have a .NET dataset in c# and would like to write SQL to query it and get back another dataset. Is this possible and how can I do it?
Avatar of TheAvenger
TheAvenger
Flag of Switzerland image

You can do something like this in a DataTable. Would this help you?
I'm not sure that I understand very well wath you need, but you can try to use the Select method:

DataRow[] foundRows = YourDataTable.Select("Date > '1/1/00'");

I meant the same, but it's only for DataTable, Dani. So newstandard shall say if data table is enough or not
ASKER CERTIFIED SOLUTION
Avatar of mvannata
mvannata

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Since when has DataSet a Select method?!?!