VB.Net-Informations.com
   Home      .Net Framework      VB.NET      C#                                                                      About


  ADO.NET Connection Object

The Connection Object is a part of ADO.NET Data Provider and it is a unique session with the Data Source. In .Net Framework the Connection Object is Handling the part of physical communication between the application and the Data Source. Depends on the parameter specified in the Connection String , ADO.NET Connection Object connect to the specified Database and open a connection between the application and the Database . When the connection is established , SQL Commands may be executed, with the help of the Connection Object, to retrieve or manipulate data in the Database. Once the Database activity is over , Connection should be closed and release the resources .

connection

In ADO.NET the type of the Connection is depend on what Database system you are working with. The following are the commonly using the connections in the ADO.NET

SqlConnection

OleDbConnection

OdbcConnection

        
        
C# Tutorial




ADO.NET Data Providers Related Contents
*     ADO.NET SQL Server Connection
*     ADO.NET OLEDB Connection
*     ADO.NET ODBC Connection
*     ADO.NET Command
*     ADO.NET ExecuteNonQuery in SqlCommand Object
*     ADO.NET ExecuteNonQuery in OleDbCommand Object
*     ADO.NET ExecuteScalar in SqlCommand Object
*     ADO.NET ExecuteScalar in OleDbCommand Object
*     ADO.NET ExecuteReader in SqlCommand Object
*     ADO.NET ExecuteReader in OleDbCommand Object
*     How to ADO.NET DataReader
*     How to ADO.NET SqlDataReader
*     How to ADO.NET OleDbDataReader
*     How to Multiple Result Sets in ADO.NET
*     Getting Schema Informations from SqlDataReader
*     Getting Schema Informations from OleDbDataReader
*     What is DataAdapter
*     What is SqlDataAdapter
*     What is OleDbDataAdapter
*     Vb.NET ExecuteReader and ExecuteNonQuery


   Home      VB.NET      C#
VB.Net Related Topics
*     Microsoft .Net Framework Tutorials
*     VB.NET Language Basics Tutorials
*     VB.NET Program Flow Control Tutorials
*     VB.NET Collections Tutorials
*     VB.NET String Tutorials
*     VB.NET Files Tutorials
*     VB.NET Excel 2007 Tutorials
*     VB.NET Crystal Reports Tutorials
*     VB.NET Communications Tutorial
*     VB.NET ADO.NET Tutorial
*     ADO.NET Data Providers help and Tutorial
*     VB.NET ADO.NET Dataset Tutorial
*     ADO.NET DataAdapter and Dataset
*     VB.NET ADO.NET DataView Tutorial
*     VB.NET Remoting Tutorial
*     VB.NET XML Tutorial
*     VB.NET DataGridView Tutorial
   Home      VB.NET      C#
More Source Code :   
Mail to :  feedback@net-informations.com
  |  Home   |  VB.NET   |  C#   |  SiteMap   |  Terms of Use   |  About   |
net-informations.com (C) 2010
All Rights Reserved. All other trademarks are property of their respective owners.