public DataTable BankSearch(bank_Prop bankprop) { try { return(SqlHelper.ExecuteDataset(com.con, "usp_Bank_search", new object[] { bankprop.BankCode, bankprop.BankName }).Tables[0]); } catch (Exception e) { throw e; } }
public string BankDelete(bank_Prop bankprop) { try { return(SqlHelper.ExecuteDataset(com.con, "usp_Bank_delete", new object[] { bankprop.BankCode }).Tables[0].Rows[0][0].ToString()); } catch (Exception e) { throw e; } }
public string BankInsert(bank_Prop bankprop) { try { return(SqlHelper.ExecuteDataset(com.con, "usp_bank_insert", new object[] { bankprop.BankCode, bankprop.BankName }).Tables[0].Rows[0][0].ToString()); } catch (Exception e) { throw e; } }
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(""); } }