Click here to Skip to main content
15,890,609 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
HI,

iam develop payroll manager application.. so i wan't log of user any event change.... admin see the log....

how to create log
Posted

1 solution

create table to log the user events. create new method to insert log data to log table. call this method from all the user activity methods with data like user id, datetime, activity name etc..
or you can use log4net based log. for example Activity Logging and Error Logging in ASP.NET[^]
 
Share this answer
 
v2
Comments
akhil.krish 15-May-14 13:16pm    
thanks for rply damith.....

iam using windows application... using almost 14forms but .. main employee payment form and employee rgistraion form.... if user change any value ... store the log ... admin see the last update... like this i wan't.....

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