Knowledgebase
Portal Home > Knowledgebase > Windows Hosting - Tutorials > MS SQL Server 2005 connection String
MS SQL Server 2005 connection String
|
MS SQL server 2005 & 2008 connection string :
------------------------------------------ con.ConnectionString = "Data Source=Domain.com;Initial Catalog=hostingUser_DBname;user id=user;password=pass";
------------------------------------------- connectionString="Data Source=(local);Initial Catalog=hostingUser_DBname;User ID=USER;Password=PASS; Integrated Security=True;Trusted_Connection=False;" providerName="System.Data.SqlClient" --------------------------------------------
providerName="System.Data.SqlClient" />
|
Add to Favourites
Print this Article
|
Also Read