sp; r.Datetime = DateTime.Now; r.Module = module; r.Function = function; r.Message = message; t.AddJobLogRow(r);
// 保存到日志到 XML 文件 t.WriteXml(jobLogFile); } catch (Exception) {} } 3. 读日志的方法 /// <summary> /// 读日志 /// </summary> /// <returns>返回读取日志的 DataTable</returns> public static JobLogDataSet.JobLogDataTable ReadLog() &nbs 上一页 [1] [2] [3] [4] [5] [6] [7] [8] 下一页
|