Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB Access
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 15-Mar-13 10:26am
Comments
ThePhantomUpvoter at 15-Mar-13 15:30pm
   
www.connectionstrings.com
Sergey Alexandrovich Kryukov at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This should help you,
 
HOW TO CONNECT VB.NET WITH ACCESS DATABASE[^]
 
You can always search this site as well as google...
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Comments
Maciej Los at 15-Mar-13 16:13pm
   
+5
Sergey Alexandrovich Kryukov at 15-Mar-13 16:20pm
   
Thank you, Maciej,
—SA
pythonicman at 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 at 15-Mar-13 18:15pm
   
My pleasure. ADO.NET is good enough to use it. :-)
Good luck, call again,
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Thanks Sergey that is what I wanted!
  Permalink  

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



Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 15 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100