Getting information from mysql database-VBForums
Results 1 to 4 of 4

Thread: Getting information from mysql database

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2011
    Posts
    17

    Getting information from mysql database

    Hi,
    I'm trying to make a loginsystem for my application. The registration part works well but I have no idea how to get the information FROM the database and compare them with the userinput. Can someone tell me how to do that or give me some code?

    PS: I'm using the mysql connector API

    thank you!

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    88,123

    Re: Getting information from mysql database

    Are you saying that you don't know how to query the database? I find that odd if you know how to insert data.

    2007-2014

    Why is my data not saved to my database? | MSDN Data Walkthroughs
    MSDN "How Do I?" Videos: VB | C#
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts) | WP8 Turnstile Feather Transition with Pivot Control
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2011
    Posts
    17

    Re: Getting information from mysql database

    Off course I do know how to query, but I don't know the vb-code!

  4. #4
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    88,123

    Re: Getting information from mysql database

    It just seems curious to me that you can write code to save information to a database but you can't write code to retrieve data from a database. The two are so closely related I have to wonder how you found information on one but not the other.

    Anyway, you can follow the CodeBank link in my signature and check out my thread on Retrieving & Saving Data, which has examples of common scenarios going both ways.

    2007-2014

    Why is my data not saved to my database? | MSDN Data Walkthroughs
    MSDN "How Do I?" Videos: VB | C#
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts) | WP8 Turnstile Feather Transition with Pivot Control
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.