Question:
How to access SQL Server 2005 with VB.net?
Cally
2008-01-27 21:43:43 UTC
I have a database in Microsoft's SQL Server 2005. It is hosted on the school's... wherever they host these things.

I decided to make the front end in Visual Basic .net because I didn't want to spend forever making the GUI.

But I can't figure out how to access the database through VB, and I have not found any sites with good information.

How do I connect to the database through VB.net?
Or what are some good sites where I can learn about how to do this? I will need to run stored procedures and such.

Thanks much.
Three answers:
2008-01-28 11:32:48 UTC
here are some of the answers



refer

http://searchcode.tm-sol.com/codeid.php?Code_ID_Code=218&dowhattodo=&pageid=1&skey=connect to database



or



http://searchcode.tm-sol.com/codeid.php?Code_ID_Code=108&dowhattodo=&pageid=1&skey=connect to database



Cheers,

N
2016-12-10 12:18:37 UTC
a million. Create a clean database on your sq. Server 2005 2. authentic click database which pops up the menu. 3. opt for initiatives -> Import archives which pops up a sq. server import export wizard 4. click next 5. From the archives source Drop down record opt for Microsoft get entry to six. opt for the record and enter person call and password. 7. click next and end
pedaammulu
2008-01-27 23:08:35 UTC
check out the slideshow at http://www.vkinfotek.com



one of the slide is about connection string. you can try the connection string in your code. i also came across a page with more about connection strings.



to copy the source code, you can place your mouse on the slide. i think you can write down the source code.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...