I wish to run query on datasets.
Is it possible.
If yes please give me an example and if not please suggest alternative solution.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t run full SQL queries on DataSets but there are a couple of options:
(1) You can filter them using the DataSet.Select() method:
http://msdn.microsoft.com/en-us/library/det4aw50.aspx
(2) You can use LINQ to DataSet.
More examples located at : http://msdn.microsoft.com/en-us/library/bb387004.aspx