Hi friends.
I am wokring with a .net c# application.
How can I create a connection string for my database.
Is it must to include my account user name and passowrd or it is accepting default windows authentication?
Please provide me the correct way to generate the sqlconnection string.
Loading
Rohit KPosted Oct 26, 2008, 1:15 PM
Secondly, when you installed SQL Server, which option you selected. Windows Authentication or SQL Server Authentication?
A normal connection string looks like:
Data Source=localhost\SQLExpress;Initial Catalog=
AlanPosted Oct 21, 2008, 1:37 PM
You didn't say what your database is but check out the following site which has connection strings for all the popular ones:
http://www.connectionstrings.com/