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]); }
public void UpdateSysCodeCat(ref data.baseDS.sysCodeCatDataTable tbl) { DbAccess.UpdateData(tbl); }
public data.baseDS.sysCodeCatDataTable GetSysCodeCat() { data.baseDS.sysCodeCatDataTable tbl = new data.baseDS.sysCodeCatDataTable(); DbAccess.LoadData(tbl); return(tbl); }
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]; }
public data.baseDS.sysCodeCatDataTable GetSysCodeCat() { data.baseDS.sysCodeCatDataTable tbl = new data.baseDS.sysCodeCatDataTable(); DbAccess.LoadData(tbl); return tbl; }
public static void UpdateData(data.baseDS.sysCodeCatDataTable tbl) { sysCodeCatTA.Update(tbl); tbl.AcceptChanges(); }
public static void LoadData(data.baseDS.sysCodeCatDataTable tbl) { sysCodeCatTA.ClearBeforeFill = false; sysCodeCatTA.Fill(tbl); }