Answer:
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