예제 #1
0
 public DataTable SelectAll()
 {
     systemDataSetTableAdapters.dishTableAdapter dish = new systemDataSetTableAdapters.dishTableAdapter();
     DataTable dt = dish.GetData();
     return dt;
 }
예제 #2
0
 public void UpdateRow(DataRow row)
 {
     systemDataSetTableAdapters.dishTableAdapter dish = new systemDataSetTableAdapters.dishTableAdapter();
     dish.Update(row);
 }
예제 #3
0
 public void AddDish(DataTable dt)
 {
     systemDataSetTableAdapters.dishTableAdapter dishTA = new systemDataSetTableAdapters.dishTableAdapter();
     dishTA.Update((systemDataSet.dishDataTable)dt);
 }