Click here to Skip to main content
15,880,972 members
Please Sign up or sign in to vote.
1.50/5 (4 votes)
See more:
CSS
</appSettings>
 <connectionStrings>
   <add name="Local" connectionString="Data Source=172.16.0.22;Initial Catalog=GQMS;User ID=dbdeveloper;Password=maha@123" providerName="System.Data.SqlClient"/>
 </connectionStrings>
 <system.web>
Posted
Updated 25-Jun-14 23:45pm
v2
Comments
Thomas Daniels 26-Jun-14 5:50am    
What do you mean exactly?
Prasad Avunoori 26-Jun-14 5:56am    
You already did that. What do you want?
Member 10534998 26-Jun-14 5:56am    
my exact ques iz tht, wt does name, Data Source & Initial Catalog mean?

1 solution

It's like this. :)

name="Local" - This is the name for your connection string.

Data Source=172.16.0.22 - Your SQL server name.

Initial Catalog=GQMS - Your Data base name.

Please read this for more info : SQL Server Connection Strings for ASP.NET Web Applications
 
Share this answer
 
Comments
Member 10534998 26-Jun-14 6:25am    
thnx.
Sampath Lokuge 26-Jun-14 6:39am    
You're warmly welcome! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900