MS SQL - SAMPLE CONNECTION STRING (ASP.NET)

Ask your Web Hosting Related Technical queries here
User avatar
admin
Site Admin
Posts: 35
Joined: Sun Jul 03, 2016 2:17 pm
Location: India
Contact:

MS SQL - SAMPLE CONNECTION STRING (ASP.NET)

Postby admin » Sun Jul 03, 2016 4:50 pm

This is a sample connection string which you can use with MS SQL 2005 / 2008 under ASP.NET:

Code: Select all

<connectionStrings>
<add name="connStr" providerName="System.Data.SqlClient" connectionString="Data Source=localhost;Initial Catalog=XXXX;User ID=XXXXX;Password=XXXXX;" />
</connectionStrings>


For security reasons, we have changed specific settings with XXXX

NOTE: You MUST include the full database name, which consit of the user prefix and the name that you have given, for example XXX_DB
Finest web hosting solution at the most affordable rates
Cheap Website Hosting
cheap VPS hosting india

Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests