Results 1 to 2 of 2

Thread: Very basic database help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Posts
    109

    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

  2. #2
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    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
  •  



Click Here to Expand Forum to Full Width