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
How to convert a DataSet into a DataReader?
2
How to fill a DataSet?
3
Is it possible to update the database by using SqlDataReader?
4
Types of DataSet in ADO.NET?
5
What are the differences between ADO and ADO.NET?


Comments