Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
Windows authentication connection string in asp.net c#
9570 Views
Syntax
SqlConnection conn = new SqlConnection(@"data source=dataSouerceName;database=dataBaseName;integrated security=true");
Example
SqlConnection conn = new SqlConnection(@"data source=LAKSHANYA\SQLEXPRESS;database=master;integrated security=true");
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