예제 #1
0
 public void account_delete(int ID)
 {
     account.Delete(ID);
     Insert_account_GridView.DataBind();
     Update_account_GridView.DataBind();
     Delete_account_GridView.DataBind();
 }
예제 #2
0
 public account account_insert()
 {
     account.Bank_ID     = Convert.ToInt32(Insert_Bank_ID_txt.Text);
     account.Account_Num = Insert_Account_Num_txt.Text;
     account.Type        = Insert_Type_txt.Text;
     account             = account.Insert(account);
     Insert_account_GridView.DataBind();
     Update_account_GridView.DataBind();
     Delete_account_GridView.DataBind();
     return(account);
 }
예제 #3
0
 public account account_update(int ID)
 {
     account             = account.Select(ID);
     account.Account_ID  = Convert.ToInt32(Update_Account_ID_txt.Text);
     account.Bank_ID     = Convert.ToInt32(Update_Bank_ID_txt.Text);
     account.Account_Num = Update_Account_Num_txt.Text;
     account.Type        = Update_Type_txt.Text;
     account.Update(account);
     Insert_account_GridView.DataBind();
     Update_account_GridView.DataBind();
     Delete_account_GridView.DataBind();
     return(account);
 }