public System.Data.DataSet CustomerList() { return(DB.gDb().CreateCommnad().Sql("select * from Customer").Query()); }
public int CustomerUpdate2(string c, string s) { return(DB.gDb().CreateCommnad().Sql("UPDATE Customer SET name='" + s + "' where code=" + c).ExecuteNonQuery()); }