public DataSet BL_BindEmployeeList(EWA_SalarySettings objEWA) { try { objDL = new DL_SalarySettings(); DataSet ds = objDL.DL_BindEmployeeList(objEWA); return(ds); } catch (Exception exp) { throw exp; } }
public DataSet BL_BindPayGroup(EWA_SalarySettings objEWA) { try { objDL = new DL_SalarySettings(); DataSet ds = objDL.DL_BindPayGroup(objEWA); return(ds); } catch (Exception) { throw; } }
public DataSet GetSalarySettings(EWA_SalarySettings objEWA) { try { objDL = new DL_SalarySettings(); DataSet ds = objDL.DL_GetSalarySettings(objEWA); return(ds); } catch (Exception exp) { throw exp; } }
public DataSet SaveSalaryContent(EWA_SalarySettings objEWA) { try { DL_SalarySettings objDL = new DL_SalarySettings(); return(objDL.DL_SaveSalaryContent(objEWA)); } catch (Exception ex) { throw ex; } finally { objDL = null; } }
public int BL_UpdatePayScale(EWA_SalarySettings objEWA) { try { objDL = new DL_SalarySettings(); int flag = objDL.DL_UpdatePayScale(objEWA); return(flag); } catch (Exception) { throw; } finally { objDL = null; } }
public int SalaryHeads_BL(EWA_SalarySettings objEWA) { try { objDL = new DL_SalarySettings(); int flag = objDL.SalaryHeads_DL(objEWA); return(flag); } catch (Exception) { throw; } finally { objDL = null; } }
// Save Salary A public int SaveSalarySlip(EWA_SalarySettings objEWA, DataTable Earnings) { try { DL_SalarySettings objDL = new DL_SalarySettings(); int flag = objDL.DL_SaveSalarySlip(objEWA, Earnings); return(flag); } catch (Exception ex) { throw ex; } finally { objDL = null; } }
private void GetReportData() { crEmployeePaySlip crt = new crEmployeePaySlip(); EWA_SalarySettings objEWA = new EWA_SalarySettings(); DL_SalarySettings objDL = new DL_SalarySettings(); String EmpCode = Session["EmpCode"].ToString(); objEWA.UserCode = EmpCode; objEWA.SalaryMonth = Session["PayMonth"].ToString(); DataSet ds = objDL.BindSalarySlipReport(objEWA); crt.SetDataSource(ds.Tables[0]); crvPrintSalarySlip.ReportSource = crt; crvPrintSalarySlip.RefreshReport(); Session.Add("CR_Session", crt); //Add Report into Session CR_Session }