ADO.NET Interview questions


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

How to connect a database through SqlConnection?

Using System.Data.SqlClient;
SqlConnection myConnection = new SqlConnection();
myConnection.ConnectionString = "Data Source = (localInitial Catalag = Slightbook);
Integrated Security=SSPI;uid=slightbook;"
myConnection.Open();
myConnection.Close();

 




Next 5 interview question(s)

1
Explain the methods of DataAdapter.Update() and DataSetAcceptChanges()?
2
What is the meaning of object pooling?
3
What is the difference between DataSet.Copy() and DataSet.Clone()?
4
Types of DataSet in ADO.NET?
5
Explain about Row States and Row Versions?

Comments