Having issues with visual basic

    I am trying to assign different labels as fields from an access database. I have attached the database to my program but just cant seem to code the link for the labels to show the fields that I want from the database.

    If you know how to help would be great if you could!


    What is the code you have written so far? What error do you get if any? Have you checked if you have written database connection code correctly? Sorry about the questions.

    Original Poster

    I have connected the database to my application through the visual basic wizard. I have no real coding with regards to the labels because I cant seem to find code that works.

    All I want is for example

    Label1.text = database1.field.firstfield

    Thanks for your help

    I am very new to programming so it may be an easy question but I just cant find the solution anywhere!

    have you made a connection string to your database?

    Original Poster

    Have now. I placed it in the form load.
    Post a comment
      Top Discussions
      1. Cheap northface alternatives?22
      2. grown ups go free kellogs22
      3. Led light bulbs. Never used them, what do I need to know?711
      4. Iphone 7 - What Case?35

      See more discussions