|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Microsoft SQL Server Connection ?
Hi
iam new into MS SQL Server. I wanted to connect via Visual Studio NET C++ to the MS SQL Server. I got experience php and mysql but none in c++. anyone can help me with code or links or tutorial ? thx Indian |
|
#2
|
||||
|
||||
|
SQLConnection
Check out the SQLConnection Class.
Here is the syntax for C#: public void CreateSqlConnection() { string myConnectString = "user id=sa;password=Jx$442pt;initial catalog=northwind;data source=mySQLServer;Connect Timeout=30"; SqlConnection myConnection = new SqlConnection(myConnectString); myConnection.Open(); } Hope this helps. |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > Microsoft SQL Server Connection ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|