public bool CheckCustomerId(string custid, string custno) { var ta = new DsMasterTableAdapters.CUSTOMERTableAdapter {Connection = {ConnectionString = _constr}}; var ret = Convert.ToInt32(ta.CountCustomerId(custid, custno)) > 0; return ret; }
public bool CheckCustomerId(string custid, string custno) { var ta = new DsMasterTableAdapters.CUSTOMERTableAdapter {Connection = {ConnectionString = _constr}}; var ret = Convert.ToInt32(ta.CountCustomerId(custid, custno)) > 0; return ret; }