コード例 #1
0
 public static HR_SalaryIncrementPackage GetHR_SalaryIncrementPackageBySalaryIncrementPackageID(int SalaryIncrementPackageID)
 {
     HR_SalaryIncrementPackage hR_SalaryIncrementPackage = new HR_SalaryIncrementPackage();
     SqlHR_SalaryIncrementPackageProvider sqlHR_SalaryIncrementPackageProvider = new SqlHR_SalaryIncrementPackageProvider();
     hR_SalaryIncrementPackage = sqlHR_SalaryIncrementPackageProvider.GetHR_SalaryIncrementPackageBySalaryIncrementPackageID(SalaryIncrementPackageID);
     return hR_SalaryIncrementPackage;
 }
コード例 #2
0
 public static DataSet GetDropDownListAllHR_SalaryIncrementPackage()
 {
     DataSet hR_SalaryIncrementPackages = new DataSet();
     SqlHR_SalaryIncrementPackageProvider sqlHR_SalaryIncrementPackageProvider = new SqlHR_SalaryIncrementPackageProvider();
     hR_SalaryIncrementPackages = sqlHR_SalaryIncrementPackageProvider.GetDropDownLisAllHR_SalaryIncrementPackage();
     return hR_SalaryIncrementPackages;
 }
コード例 #3
0
 public static void LoadHR_SalaryIncrementPackagePage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlHR_SalaryIncrementPackageProvider sqlHR_SalaryIncrementPackageProvider = new SqlHR_SalaryIncrementPackageProvider();
     DataSet ds =  sqlHR_SalaryIncrementPackageProvider.GetHR_SalaryIncrementPackagePageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      hR_SalaryIncrementPackagesPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
コード例 #4
0
 public static bool UpdateHR_SalaryIncrementPackage(HR_SalaryIncrementPackage hR_SalaryIncrementPackage)
 {
     SqlHR_SalaryIncrementPackageProvider sqlHR_SalaryIncrementPackageProvider = new SqlHR_SalaryIncrementPackageProvider();
     return sqlHR_SalaryIncrementPackageProvider.UpdateHR_SalaryIncrementPackage(hR_SalaryIncrementPackage);
 }
コード例 #5
0
 public static int InsertHR_SalaryIncrementPackage(HR_SalaryIncrementPackage hR_SalaryIncrementPackage)
 {
     SqlHR_SalaryIncrementPackageProvider sqlHR_SalaryIncrementPackageProvider = new SqlHR_SalaryIncrementPackageProvider();
     return sqlHR_SalaryIncrementPackageProvider.InsertHR_SalaryIncrementPackage(hR_SalaryIncrementPackage);
 }
コード例 #6
0
 public static bool DeleteHR_SalaryIncrementPackage(int hR_SalaryIncrementPackageID)
 {
     SqlHR_SalaryIncrementPackageProvider sqlHR_SalaryIncrementPackageProvider = new SqlHR_SalaryIncrementPackageProvider();
     return sqlHR_SalaryIncrementPackageProvider.DeleteHR_SalaryIncrementPackage(hR_SalaryIncrementPackageID);
 }