Connect the Database
Using Oledb
Establishing Connection
//StrCon is Connection string
OCon.open();
//Some database transactions
OCon.Close();
Using SqlClient
Establishing Connection
//StrCon is Connection string
OCon.open();
//Some database transactions
OCon.Close();
Labels: connection close, Connection open, Establishing Connection with database
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home