login form authentication

Aug 24 2009 1:41 AM
hi, i am developing a windows application and i have made a login form. i am using ms access as my database. i have one field as user status and i want to set user status as 1 for login and 0 for logout. that means when user logged in the application his status in that user status column should be set as 1 and as soon as he logged out his status should be set to 0. plz help me out as i am new in programming.

Answers (5)