Friday 29 April 2016

Connection with SQL Server Part 2

As You can see in code there are some header file which is added for connecting with the sql server

the header file
Using System.Data;
And
Using System.Data.SqlClient;
Is must required so don't forget it

Sqlconnection Description:-


SqlConnection()

Initializes a new instance of the SqlConnection class.

System_CAPS_pubmethodSqlConnection(String)

Initializes a new instance of the SqlConnection class when given a string that contains the connection string.

System_CAPS_pubmethodSqlConnection(String, SqlCredential)

Initializes a new instance of the SqlConnection class given a connection string, that does not useIntegrated Security = true and a SqlCredential object that contains the user ID and password.


No comments:

Post a Comment

Part 20 consuming rest api in ionic

in this video, I will show you that how you can consume the rest API. in the previous video we have implemented the asp.net web API projec...