Home > DeveloperSection > Interviews > What is the benefit of using LINQ on Dataset?

Posted on    July-26-2011 9:41 AM

 VB.Net VB.Net 
 1 Answer(s)
  1772  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    July-26-2011 12:00 AM

The main aim of using LINQ to Dataset is to run strongly typed queries on Dataset.

Suppose we want to combine the results from two Datasets, or we want to take a distinct value from the Dataset, then it is advisable to use LINQ.

Normally you can use the SQL queries to run on the database to populate the Dataset, but you are not able to use SQL query on a Dataset to retrieve a particular values. To get this you need to use ADO.NET functionalities. But, in case of LINQ, it provides more dignified way of querying the Dataset and provides some new features as compared to ADO.NET.

Don't want to miss updates? Please click the below button!

Follow MindStick