|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Connection string documentation?
How am I supposed to know the connection string when creating a connection object to a SQL Server database? I don't see the syntax documented anywhere.
|
|
#2
|
|||
|
|||
|
Connection Strings
In a standard security scenario, the connection string is normally:
Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword; Other formats are used for trusted and more ramified security connections. Good site for this is: h t t p(colon slash slash)(woo-woo-woo)(period)connectionstrings(period)com(slash)sql -server-2008 |
|
#3
|
||||
|
||||
|
This site has examples of connection strings, have a look here for your version of SQL Server database.
http://www.connectionstrings.com/ |
![]() |
| Viewing: ASP Free Forums > DevSource > C# programming > Connection string documentation? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|