Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
A simple question: how do I connect my VB.net form to my MS Access database so that I can query the database from the button on the form. I mean the connection rather than the query.
Posted
Comments
[no name] 15-Mar-13 15:30pm    
www.connectionstrings.com
Sergey Alexandrovich Kryukov 15-Mar-13 15:51pm    
From this question, I doubt OP is familiar with ASP.NET, so I provided a relevant answer, please see.
—SA

This should help you,

HOW TO CONNECT VB.NET WITH ACCESS DATABASE[^]

You can always search this site as well as google...
 
Share this answer
 
A short answer is: use ADO.NET. Please see:
http://msdn.microsoft.com/en-us/library/ms971485.aspx[^].

I usually highly recommend this CodeProject article to get started: Using ADO.NET for beginners[^].

Good luck,
—SA
 
Share this answer
 
Comments
Maciej Los 15-Mar-13 16:13pm    
+5
Sergey Alexandrovich Kryukov 15-Mar-13 16:20pm    
Thank you, Maciej,
—SA
pythonicman 15-Mar-13 17:28pm    
Sergy thanks a great one and I can show my students who might find it easier than Python andf TKinter
Sergey Alexandrovich Kryukov 15-Mar-13 18:15pm    
My pleasure. ADO.NET is good enough to use it. :-)
Good luck, call again,
—SA
Thanks Sergey that is what I wanted!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900