Connection object is responsible for creating a connection to the database.
If u want to do any operation in database first we need to create the connection object.
Syntax:
sqlconnection conn = newsqlconnection (@"Server=servername;userid=userid; password=password;Database=Databasename")
No comments:
Post a Comment