Creating a Login Form in Visual Basic .Net

This time I will share tips on how to create a simple login form in vb.net, as an example we will create a new table, the table name "TestLogin"

visul basic net

And also add a new form to design the form as follows:
visul basic net

The goal we are, check the user id that we type in the text the user id, if it is not listed in the table TestLogin, then the program will display a message that the user id is not registered, whereas if the user id is listed, then the program will check the password typed in the password text passwords stored in the table.

To start, double-click the Log In button, and type the following command:
visul basic net

Once done, try to run your project by pressing the F5 key, then enter the user id and enter the password yudi words with 123 words, and then click the Log In button, if successful, the program will bring up Form1.
Previous
Next Post »