Difference between Typed DataSet and UnTypedDataSet

 Posted by aswinialuri-19361 on 4/24/2013 | Category: ASP.NET Interview questions | Views: 4323 | Points: 40

Typed DataSet is a Custom class generated by visual studio
It adds things like named properties that match column and row data in the tables. It's generated code and not a part of .NET, so you can't use typed datasets without Visual Studio unless you copy all of the code and manually customize it for your project. An untyped dataset is an object of the DataSet class. It's a part of .NET and you can use it even if you don't have Visual Studio.
typed dataset is generally used as it is easy to use and moreover gives errors at compile time...compared to untyped which gives on run time

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response