|
-
November 6th, 2008, 12:31 PM
#1
Libraries to do connection with MS SQL
I like to create a Web form to insert, delete and update records to MS SQL Database.
Somebody told me that first I need to download libraries to get connection with SQL.
Could you help me?
-
November 6th, 2008, 12:33 PM
#2
Re: Libraries to do connection with MS SQL
The .NET framework includes everything you need to connect, there is no need for anything "additional" (download or otherwise)....
Code:
using System.Data.SqlClient;
SqlConnection connection = new SqlConnection(...);
connection.Open();
I suggest that you get a GOOD book on ADO.Net, read it carefully (typing in all of the code, debugging every line, etc) to get a solid foundation.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
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
|