Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
Sql server connection string in asp.net c#
4044 Views
Syntax
SqlConnection conn = new SqlConnection("data source=dataSourceName;database=databaseName;user id=userid;password=password");
Example
SqlConnection conn = new SqlConnection("data source=172.25.192.72;database=DB04H12;user id=pj04h12;password=tcshyd");
Best Lessons of "Asp.net/Ado.net/C#.net(Dotnet)"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details