コード例 #1
0
 public DataTable BankSearch(bank_Prop bankprop)
 {
     try
     {
         bankdal = new bank_dal();
         DataTable dt = bankdal.BankSearch(bankprop);
         return(dt);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return(null);
     }
 }
コード例 #2
0
 public string BankDelete(bank_Prop bankprop)
 {
     try
     {
         bankdal = new bank_dal();
         string strMsg = bankdal.BankDelete(bankprop);
         return(strMsg);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return("");
     }
 }