sachi vasishta

sachi vasishta

  • NA
  • 252
  • 0

about writing a code in windows form to connect to database

Mar 28 2009 6:44 AM

Hi

 i have got a problem(based on winforms and using C#). Now i want to know how to interact with the database.
Here  i have one winform which asks for username and password. I am using the Mysql database and i have created database  namely sampletest and i have also created the DSN namely sampletest. And i have a one table  in the database namely userinfo which contains the info userid and passwd. Now u tell me how the info typed in username n password textbox are going to be stored in database and how to compare the new values entered with the values in the database.


Answers (1)