Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello codeproject, this would my first post.

i have done a login form using vb .net

if the login details matched the data inside my db then the user can now proceed to another form else i declare an loginattempt than would increment every incorrect login. i have successfully implement that but now i want it to be written on my database that if the user attempt to login, my system will log his login attempts on the database. i have a hard time doing that, i need to select, and if the row is null i will insert data onto it else i would update it.
Posted
Comments
Sergey Alexandrovich Kryukov 30-Oct-14 13:25pm    
What is the problem? Probably, you have the table of users. One attribute of this table could be the user status, and one of the status bits could be "locked". Isn't that logical?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900