Click here to Skip to main content
11,647,828 members (62,773 online)
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 9: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)

  Print Answers RSS
0 jyo.net 500
1 F-ES Sitecore 410
2 DamithSL 290
3 CPallini 290
4 OriginalGriff 277
0 OriginalGriff 1,342
1 jyo.net 994
2 DamithSL 971
3 Sergey Alexandrovich Kryukov 873
4 CPallini 845


Advertise | Privacy | Mobile
Web02 | 2.8.150804.4 | Last Updated 15 Mar 2013
Copyright © CodeProject, 1999-2015
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