Beispiel #1
0
 public static DataSet GetDropDownListAllACC_BasicAccount()
 {
     DataSet aCC_BasicAccounts = new DataSet();
     SqlACC_BasicAccountProvider sqlACC_BasicAccountProvider = new SqlACC_BasicAccountProvider();
     aCC_BasicAccounts = sqlACC_BasicAccountProvider.GetDropDownLisAllACC_BasicAccount();
     return aCC_BasicAccounts;
 }
Beispiel #2
0
 public static ACC_BasicAccount GetCOMN_RowStatusByRowStatusID(int RowStatusID)
 {
     ACC_BasicAccount aCC_BasicAccount = new ACC_BasicAccount();
     SqlACC_BasicAccountProvider sqlACC_BasicAccountProvider = new SqlACC_BasicAccountProvider();
     aCC_BasicAccount = sqlACC_BasicAccountProvider.GetACC_BasicAccountByRowStatusID(RowStatusID);
     return aCC_BasicAccount;
 }
Beispiel #3
0
 public static ACC_BasicAccount GetACC_BasicAccountByBasicAccountID(int BasicAccountID)
 {
     ACC_BasicAccount aCC_BasicAccount = new ACC_BasicAccount();
     SqlACC_BasicAccountProvider sqlACC_BasicAccountProvider = new SqlACC_BasicAccountProvider();
     aCC_BasicAccount = sqlACC_BasicAccountProvider.GetACC_BasicAccountByBasicAccountID(BasicAccountID);
     return aCC_BasicAccount;
 }
Beispiel #4
0
 public static bool UpdateACC_BasicAccount(ACC_BasicAccount aCC_BasicAccount)
 {
     SqlACC_BasicAccountProvider sqlACC_BasicAccountProvider = new SqlACC_BasicAccountProvider();
     return sqlACC_BasicAccountProvider.UpdateACC_BasicAccount(aCC_BasicAccount);
 }
Beispiel #5
0
 public static void LoadACC_BasicAccountPage(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_BasicAccountProvider sqlACC_BasicAccountProvider = new SqlACC_BasicAccountProvider();
     DataSet ds =  sqlACC_BasicAccountProvider.GetACC_BasicAccountPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      aCC_BasicAccountsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Beispiel #6
0
 public static int InsertACC_BasicAccount(ACC_BasicAccount aCC_BasicAccount)
 {
     SqlACC_BasicAccountProvider sqlACC_BasicAccountProvider = new SqlACC_BasicAccountProvider();
     return sqlACC_BasicAccountProvider.InsertACC_BasicAccount(aCC_BasicAccount);
 }
Beispiel #7
0
 public static bool DeleteACC_BasicAccount(int aCC_BasicAccountID)
 {
     SqlACC_BasicAccountProvider sqlACC_BasicAccountProvider = new SqlACC_BasicAccountProvider();
     return sqlACC_BasicAccountProvider.DeleteACC_BasicAccount(aCC_BasicAccountID);
 }