Click here to Skip to main content
16,021,112 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
sir i have no idea about how to enable to "Windows Authentication" in visual stdio 2012?


use in connect the database
Posted

1 solution

hi Use this Connection String

SQL
Server=myServerAddress;Database=myDataBase;Trusted_Connection=True;


Trsusted Connection is used for "Windows Authentication"

for Details Refer this link

https://www.connectionstrings.com/sql-server/[^]
 
Share this answer
 

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