Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i Connect to SqlServer if the SqlServer has windows Authentication mode Using Ado.Net with
c#.net only
Posted

1 solution

firstly I would look at the following 2 sites

1. How to construct a connection string, here you can learn how to create the connection string depending on your version of SQL Server

Connection Strings Website


2. first example of connecting using ado.net

ado example
 
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