Example #1
0
 public bool UpdateSysCodeCat(ref databases.baseDS.sysCodeCatDataTable sysCodeCatTbl)
 {
     return(base.Channel.UpdateSysCodeCat(ref sysCodeCatTbl));
 }
Example #2
0
 public static databases.baseDS.sysCodeCatRow UpdateData(databases.baseDS.sysCodeCatRow row)
 {
     try
     {
         lock (myClient)
         {
             databases.baseDS.sysCodeCatDataTable tbl = new databases.baseDS.sysCodeCatDataTable();
             tbl.ImportRow(row);
             myClient.UpdateSysCodeCat(ref tbl);
             row.AcceptChanges();
             return tbl[0];
         }
     }
     catch (Exception er)
     {
         if (OnError != null) OnError(er);
     }
     return null;
 }
 public databases.baseDS.sysCodeCatDataTable GetSysCodeCat()
 {
     try
     {
         databases.baseDS.sysCodeCatDataTable tbl = new databases.baseDS.sysCodeCatDataTable();
         databases.DbAccess.LoadData(tbl);
         return tbl;
     }
     catch (Exception ex)
     {
         WriteSysLogLocal("WS034", ex);
     }
     return null;
 }