Jump to content

connecting to sql server tutorial?


zezu10

Recommended Posts

hi guysI haven't done .net in a while, rougly a year, and am soon going to be getting back into it at work.I can't seem to find for the life of me a good tutorial which goes through step by step how I would create a .net project (mainly in vb if possible) which connects to a SQL server database.I know this is school boy stuff lads, but if you could help me out it would be very much appreciated.

Link to comment
Share on other sites

These two links, while not step-by-step tutorials, should point you in the right direction:The SqlConnection class is what you use to connect to the database:http://msdn2.microsoft.com/en-us/library/s...connection.aspxAnd you have to pass that SqlConnection object a connection string for your database. You can get help determining the connection string here:http://www.connectionstrings.com/

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...