if (hidSalaryAdvance.Value.ToString() == "True") { odfacility = 1; //Added by Alex on Feb 4,2014 to see whether any have OD facility and if any store to a session Session["odfacility"] = "1"; //Added by Alex on Jan 28,2014 to append Employee Id Values with OD Facility if (count == 0) { EmpId = hidEmpId.Value.ToString(); } else { EmpId += ","+hidEmpId.Value.ToString(); } count++; } else { odfacility = 0; } CorporateId = hidCorporateId.Value.ToString(); recordcount++; int output; //Added by Alex on Feb 4,2014 to save only if no OD facility set AND CHECKBOX CHEcked if (odfacility == 0 && chkVerify != null && chkVerify.Checked) { if (Session["ROLE"].ToString() == "C3V") { output = new AFSPosting().SaveUpdateStatus(hidCorporateId.Value, Double.Parse(hidC3EmpRegId.Value), userId, ref count); } else { output = new AFSPosting().SaveC3MakerUpdateStatus(hidCorporateId.Value, hidupdateStatus.Value, Double.Parse(hidC3EmpRegId.Value), userId); } if (output != 0) Common.showMessage("An error occured while saving the records ", this); else Common.UserPageAudit(Session["User"].ToString(), "Post Employee Updations/Deletions", Session["ROLE"].ToString(), "Employee Updation/Deletion Verified"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)