public Customer searchDAOCustomer(int id) { db = new DatabaseAccess(); dt = db.DAOsearchCustomer(id.ToString(),""); return setCustomer(dt); }
// Using DAO // search Customer public DataTable searchDAOCustomer(string id, string birth) { db = new DatabaseAccess(); dt = db.DAOsearchCustomer(id, birth); return dt; }