internal static void InsertLog(DateTime dt, string rec, string tbl, string usr, string act, string sysuser, string sys) { try { dda = new tblLivelogTableAdapter(); dda.Insert(dt, rec, tbl, usr, act, sysuser, sys); } catch { } }
internal int Delete(LivelogInfo r) { try { da = new tblLivelogTableAdapter(); n = da.Delete(r.LogID); } catch (Exception ex) { Interactive.LInfoError(ex.Message, "Insert Record"); } return(n); }
internal int Update(LivelogInfo r) { try { da = new tblLivelogTableAdapter(); n = da.Update(r.LogDate, r.RecordUID, r.TableName, r.UserID, r.Action, r.SystemUser, r.Computer, r.LogID); } catch (Exception ex) { Interactive.LInfoError(ex.Message, "Insert Record"); } return(n); }
internal DsSecurity.tblLivelogDataTable ViewAll() { try { da = new tblLivelogTableAdapter(); dt = new DsSecurity.tblLivelogDataTable(); da.Fill(dt); } catch (Exception ex) { Interactive.LInfoError(ex.Message, "View Record"); } return(dt); }