Home > DeveloperSection > Interviews > What is the use of the Connection object?

Posted on    August-21-2014 11:39 PM

 ADO.Net ADO.Net 
 1 Answer(s)
  1301  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    August-21-2014 12:00 AM

The Connection object is used to connect your application to a specific data source by providing the required authentication information in connection string. 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.

Don't want to miss updates? Please click the below button!

Follow MindStick