Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
sql database
username :rbc
password:rbc123


"Data Source=abc;Initial Catalog=testdatabase;Integrated Security=True"
Posted

C#
Server=myServerAddress;Database=myDataBase;User Id=myUsername;
Password=myPassword;

more info here : http://www.connectionstrings.com/sql-server/[^]
 
Share this answer
 
Do some research and you can find plenty of solutions on web

XML
<connectionStrings>
    <add name="myConnectionString" connectionString="Data Source=abc;Initial Catalog=testdatabase; User Id=rbc; Password=rbc123; providerName="System.Data.SqlClient"/>
  </connectionStrings>


http://www.sql-server-helper.com/sql-server-2008/sqlconnection-connection-string.aspx[^]
 
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