Example #1
0
 public static ACC_Head GetCOMN_RowStatusByRowStatusID(int RowStatusID)
 {
     ACC_Head aCC_Head = new ACC_Head();
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     aCC_Head = sqlACC_HeadProvider.GetACC_HeadByRowStatusID(RowStatusID);
     return aCC_Head;
 }
Example #2
0
 public static DataSet GetAllACC_HeadsWithRelation()
 {
     DataSet aCC_Heads = new DataSet();
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     aCC_Heads = sqlACC_HeadProvider.GetAllACC_Heads();
     return aCC_Heads;
 }
Example #3
0
 public static ACC_Head GetACC_HeadByHeadID(int HeadID)
 {
     ACC_Head aCC_Head = new ACC_Head();
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     aCC_Head = sqlACC_HeadProvider.GetACC_HeadByHeadID(HeadID);
     return aCC_Head;
 }
Example #4
0
 public static ACC_Head GetACC_AccountByAccountID(int AccountID)
 {
     ACC_Head aCC_Head = new ACC_Head();
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     aCC_Head = sqlACC_HeadProvider.GetACC_HeadByAccountID(AccountID);
     return aCC_Head;
 }
Example #5
0
 public static void LoadACC_HeadPage(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);
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     DataSet ds =  sqlACC_HeadProvider.GetACC_HeadPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      aCC_HeadsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Example #6
0
 public static int InsertACC_Head(ACC_Head aCC_Head)
 {
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     return sqlACC_HeadProvider.InsertACC_Head(aCC_Head);
 }
Example #7
0
 public static DataSet GetDropDownListAllACC_Head()
 {
     DataSet aCC_Heads = new DataSet();
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     aCC_Heads = sqlACC_HeadProvider.GetDropDownLisAllACC_Head();
     return aCC_Heads;
 }
Example #8
0
 public static bool DeleteACC_Head(int aCC_HeadID)
 {
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     return sqlACC_HeadProvider.DeleteACC_Head(aCC_HeadID);
 }
Example #9
0
 public static bool UpdateACC_Head(ACC_Head aCC_Head)
 {
     SqlACC_HeadProvider sqlACC_HeadProvider = new SqlACC_HeadProvider();
     return sqlACC_HeadProvider.UpdateACC_Head(aCC_Head);
 }