|
-
Jun 27th, 2006, 09:22 PM
#1
Thread Starter
Fanatic Member
Connect to MS SQL 2000
hi! can anybody please help me on how to connect to MS SQL 2000 DB? can you please give me an example..or just give me a link for a tutorials? thanks in advanace!
-
Jun 27th, 2006, 09:45 PM
#2
Re: Connect to MS SQL 2000
There are numerous tutorials in my signature. The ADO.NET tutes use VB code examples but you can use one of the code converters in my sig if you like. All the principles are exactly the same in C#. You may also like to visit www.connectionstrings.com to get the appropriate format for the connection string.
-
Jun 27th, 2006, 10:36 PM
#3
Thread Starter
Fanatic Member
Re: Connect to MS SQL 2000
ah ok...thanks for that..but can i have more inputs..thanks!
-
Jun 27th, 2006, 10:49 PM
#4
Re: Connect to MS SQL 2000
You mean can someone give you the code to do it? Connecting to a database is simple:
Code:
System.Data.SqlClient.SqlConnection myConnection = new System.Data.SqlClient.SqlConnection("connection string here");
myConnection.Open();
To do anything useful with that connection you need to understand at least the basics of ADO.NET and SQL. There are tutorials in my signature on those topics.
Last edited by jmcilhinney; Jun 27th, 2006 at 10:56 PM.
-
Jun 28th, 2006, 12:15 AM
#5
Thread Starter
Fanatic Member
Re: Connect to MS SQL 2000
not actually the code...something that my mind, my mouth and my fingers can work with
-
Jun 28th, 2006, 05:53 AM
#6
Re: Connect to MS SQL 2000
 Originally Posted by daimous
not actually the code...something that my mind, my mouth and my fingers can work with 
Beyond what jmcilhinney has already provided, plus the links in his signature, I'm not sure what else you might be after.
-
Jul 2nd, 2006, 09:49 PM
#7
Thread Starter
Fanatic Member
Re: Connect to MS SQL 2000
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|