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); } }
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(""); } }