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!
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.
Re: Getting information from mysql database
Off course I do know how to query, but I don't know the vb-code!
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.