Esempio n. 1
0
 public static DataSet GetHR_DocumentsByEmployeeID(string EmployeeID)
 {
     DataSet hR_Documents = new DataSet();
     SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider();
     hR_Documents = sqlHR_DocumentsProvider.GetHR_DocumentsByEmployeeID(EmployeeID);
     return hR_Documents;
 }
Esempio n. 2
0
 public static HR_Documents GetHR_DocumentsByDocumentsID(int DocumentsID)
 {
     HR_Documents hR_Documents = new HR_Documents();
     SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider();
     hR_Documents = sqlHR_DocumentsProvider.GetHR_DocumentsByDocumentsID(DocumentsID);
     return hR_Documents;
 }
Esempio n. 3
0
 public static DataSet GetDropDownListAllHR_Documents()
 {
     DataSet hR_Documentss = new DataSet();
     SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider();
     hR_Documentss = sqlHR_DocumentsProvider.GetDropDownLisAllHR_Documents();
     return hR_Documentss;
 }
Esempio n. 4
0
 public static DataSet GetAllHR_DocumentssWithRelation()
 {
     DataSet hR_Documentss = new DataSet();
     SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider();
     hR_Documentss = sqlHR_DocumentsProvider.GetAllHR_Documentss();
     return hR_Documentss;
 }
Esempio n. 5
0
 public static void LoadHR_DocumentsPage(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_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider();
     DataSet ds =  sqlHR_DocumentsProvider.GetHR_DocumentsPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      hR_DocumentssPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Esempio n. 6
0
 public static int InsertHR_Documents(HR_Documents hR_Documents)
 {
     SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider();
     return sqlHR_DocumentsProvider.InsertHR_Documents(hR_Documents);
 }
Esempio n. 7
0
 public static bool DeleteHR_Documents(int hR_DocumentsID)
 {
     SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider();
     return sqlHR_DocumentsProvider.DeleteHR_Documents(hR_DocumentsID);
 }
Esempio n. 8
0
 public static bool UpdateHR_Documents(HR_Documents hR_Documents)
 {
     SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider();
     return sqlHR_DocumentsProvider.UpdateHR_Documents(hR_Documents);
 }