ADO.NET Interview questions

Total available count: 25
Subject - Microsoft Technologies
Subsubject - ADO.NET

What is the difference between DataSet.Copy() and DataSet.Clone()?

DataSet.Copy() and DataSet.Clone() are different kind of DataSet methods which are useful to copy the data and structure and one DataSet to another DataSet.
DataSet.Copy():  DataSet.Copy() copies both the data and structure of the DataSet.
Code Practise:
DataSety = DataSetx.Copy();

DataSet.Clone(): DataSet.Clone() copies only structure of the DataSet.

Code Practise:
DataSety = DataSetx.Clone();


Next 5 interview question(s)

Types of DataSet in ADO.NET?
Explain about Row States and Row Versions?
Explain the steps to access the database in ADO.NET?
Why will an ASP.NET user account be created in the database for an ASP.NET web application?
Can you inherit from SqlConnection class?