示例#1
0
 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;
     }
 }
示例#2
0
 public DataSet BL_BindPayGroup(EWA_SalarySettings objEWA)
 {
     try
     {
         objDL = new DL_SalarySettings();
         DataSet ds = objDL.DL_BindPayGroup(objEWA);
         return(ds);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#3
0
 public DataSet GetSalarySettings(EWA_SalarySettings objEWA)
 {
     try
     {
         objDL = new DL_SalarySettings();
         DataSet ds = objDL.DL_GetSalarySettings(objEWA);
         return(ds);
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
示例#4
0
 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;
     }
 }
示例#5
0
 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;
     }
 }
示例#6
0
 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;
     }
 }
示例#7
0
 // 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;
     }
 }
示例#8
0
        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
        }