1
Reply

In Logincontrol tool control how to write the code to login only those persons whose username and password are stored in database?

Sreelatha Sangubhotla

Sreelatha Sangubhotla

Apr 10, 2008
5.2k
0

    Ok it depends on the program but I give you an idea Say that you have a Table in a data base Table(user,password,mail,date,cathegory) In your program create two variables var UserId and PassWord as strings With your program invoke this sql statement SQL = "Select * From Table Where user = " + UserId + "password = " + PassWord execute it if it returns not nul rows numbers then the user is accepted else the user is rejected

    Bechir Bejaoui
    April 12, 2008
    0