What is the use of the Connection object ?

 Posted by Bharathi Cherukuri on 5/21/2012 | Category: ADO.NET Interview questions | Views: 1885 | Points: 40

By providing the required authentication information in connection string, the Connection object is used to connect your application to a specific data source. The connection object is used according to the type of the data source.
For example, the OleDbConnection object is used with an OLE-DB provider and the SqlConnection object is used with an MS SQL Server.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response