Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello every one,

I am working in Window form Application in c#. I am making time attendance system. So I have a requirement to add entry of system On and off time in database.
My problem is that i need the code or any idea that how can i save the entry in database when user lock the system.
Please help me if anyone have any idea or any link.
Posted

I don't have time to search for examples for you but this interface seems to be what you need for your requirement.

ISensLogon interface[^]
 
Share this answer
 
Hi navjot,
I think you make use of windows services.You can create a project of windows service, which runs as a service and take care of login and logout timings.
 
Share this answer
 

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