VB read from MYSQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skynetplus
    New Member
    • Feb 2007
    • 4

    #1

    VB read from MYSQL

    I want to read from my table in mysql so that data is displayed in a listbox and a text box on my form.

    I have a mailing system and want the subject to be displayed in the list box and then the message to be displayed in the text box. The field names on the DB are:

    message_ID, user_from, user_to, subject, message, read

    I want to be able to read the user to for the current username logged in and then display the subject and message as said above!

    Any help appreciated :D!

    Cheers
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Hey there skynetplus!

    It is achievable; be sure you can first establish a connection to MYSQL with a simple textbox, the n go from there.

    As for the message, you may need it to come through a textarea rather than a textbox.

    Do stay tuned, as I am just apssing through, our experts will likely see yourpost and come to aid:-)

    Good luck with project!

    Dököll

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      you can find the connection string for mysql here.

      Comment

      Working...