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