Login form
please help me in the coding. i m a beginner in VB.Net. i would like to create a login form and the username and the password will be check in the SQL server.
the form contains a comboBox and a textbox and two buttons - OK, Cancel.
in the form_load, the username is retrieve from the SQL server , the database = "VideoSys", Table="Logon", with the field= username and password.The username="Admin" and the password="Admin" is the first record.
The user can select either to login as a Admin or the user name from the combobox. then they have to enter the password in the textbox.the pressed OK button. If the username and the password is correct, then the form2 will display else the error message " invalid user and password".

send2manivannanRank #8,059 · 229 reputationPosted May 28, 2004, 1:36 AM EDT
Adam ErstelleRank #3,005 · 479 reputationPosted May 28, 2004, 12:31 PM EDT
akbhattacharya120 reputationPosted Jun 4, 2004, 9:06 AM EDT
viviansm26 reputationPosted Jun 21, 2004, 8:08 PM EDT