![]() "Initial Catalog=databasename User id=username Password=password " Ĭonnection = new OleDbConnection(ConnectionString) "Data Source=your IP Address,1433 Initial Catalog=datadasename " +ĬonnectionString = "Driver=SQLOLEDB Data Source=servername " + ![]() "Initial Catalog=databasebame "Integrated Security=SSPI " ĬonnectionString = "Network Library=DBMSSOCN " + "Initial Catalog=databasename User id=uasername Password=password " Ĭonnection = new SqlConnection(ConnectionString) NET DataProvider - Standard ConnectionĬonnectionString = "Data Source=servername " + NET Framework provides mainly three data providers, they areįrom the following section you can find different types of providers and its connection strings in detail. Usually Data Providers use a connection string containing a collection of parameters to establish the connection with the database through applications. The Connection String includes parameters such as the name of the driver, Server name and Database name, as well as security information such as user name and password.Īn ADO.NET Data Provider is a class that can communicate with a specific type of database or data store. A connection string provides the information that a provider needs to communicate with a particular database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |