|
-
Mar 10th, 2011, 12:35 PM
#1
Thread Starter
Lively Member
Very basic database help
Good evening guys,
I am currently writing a program that needs the use of a database. At the moment I am trying to get a simple combobox working.
The problem I am having is that I have never done any work with databases and VB08.
I am using an access database that has the fields
SMTP, Port, SSL
I want to populate a combo box with the field SMTP and from there I want 2 other labels to be filled in with the port and ssl details
I was wondering a) How do I set the connection up with Visual Basic (within the database I am using MySQL to get the information)
b) How do I go about populating the combo box?
Thank you for reading
Laura
-
Mar 10th, 2011, 12:53 PM
#2
Frenzied Member
Re: Very basic database help
I am a little confused, you say your using an access database, then you ask how to setup a connection and you are using MySql to get information?
With that said look at:
connectionstrings.com
for creating a connection
Then you can create a datatable and then bind the table to combobox
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|