public void UserLog() { string logtype = Request["logtype"]; string empid = Request["empid"]; string empname = Request["empname"]; if (logtype == "O") { EmployeeLog.InsertLogOutTime(empid, empname); } }
protected void btnLogout_Click(object sender, EventArgs e) { EmployeeLog.InsertLogOutTime(GlobalAccess.EmpID, GlobalAccess.Fullname); ClearServerApplication(); }