Beispiel #1
0
 public static data.baseDS.sysCodeCatRow UpdateData(data.baseDS.sysCodeCatRow row)
 {
     data.baseDS.sysCodeCatDataTable tbl = new data.baseDS.sysCodeCatDataTable();
     tbl.ImportRow(row);
     myClient.UpdateSysCodeCat(ref tbl);
     row.AcceptChanges();
     return(tbl[0]);
 }
Beispiel #2
0
 public void UpdateSysCodeCat(ref data.baseDS.sysCodeCatDataTable tbl)
 {
     DbAccess.UpdateData(tbl);
 }
Beispiel #3
0
 public data.baseDS.sysCodeCatDataTable GetSysCodeCat()
 {
     data.baseDS.sysCodeCatDataTable tbl = new data.baseDS.sysCodeCatDataTable();
     DbAccess.LoadData(tbl);
     return(tbl);
 }
Beispiel #4
0
 public static data.baseDS.sysCodeCatRow UpdateData(data.baseDS.sysCodeCatRow row)
 {
     data.baseDS.sysCodeCatDataTable tbl = new data.baseDS.sysCodeCatDataTable();
     tbl.ImportRow(row);
     myClient.UpdateSysCodeCat(ref tbl);
     row.AcceptChanges();
     return tbl[0];
 }
Beispiel #5
0
 public data.baseDS.sysCodeCatDataTable GetSysCodeCat()
 {
     data.baseDS.sysCodeCatDataTable tbl = new data.baseDS.sysCodeCatDataTable();
     DbAccess.LoadData(tbl);
     return tbl;
 }
Beispiel #6
0
 public static void UpdateData(data.baseDS.sysCodeCatDataTable tbl)
 {
     sysCodeCatTA.Update(tbl);
     tbl.AcceptChanges();
 }
Beispiel #7
0
 public static void LoadData(data.baseDS.sysCodeCatDataTable tbl)
 {
     sysCodeCatTA.ClearBeforeFill = false;
     sysCodeCatTA.Fill(tbl);
 }