Question:

What is the connection string when connecting c# to sql server 2005 express?

by  |  earlier

0 LIKES UnLike

i tried to connect sql server 2005 native client. the one embedded in visual studio, but it seems that the program does'nt accept the connection string so i downloaded sql server 2005 expres edition.

What is the connection string for sql server 2005, its syntax and how can i connect it to the program...

tnx,

 Tags:

   Report

3 ANSWERS


  1. graphics design-

    http://userstyle.org/


  2. (1) ConnectionString = "server=.;Database=AdventureWorks;uid=sa...

    The server=. specifies that the server is local. when you know the name of your instance server, you can use its name. The above connection string assumes that you want to connect to the sql server using mixed mode authenticaction. For windows authentication check (2)

    (2)- ConnectionString = "server=.;Database;=AdventureWorks;Integ... Security=True";

    Hope this helps


  3. This will give you all the connection strings for now and in the future...

    http://www.connectionstrings.com/

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.