2007年6月19日

IIS6.0日志文件分析代码_1生成访问字段记录到数组中

摘要: IIS6.0日志文件分析代码_1生成访问字段记录到数组中,只能处理小体积的LOG文件.系统构思有些欠缺.比如文本文件读取到100行好象就CPU占用率很高.然后程序卡死.升级可考虑用文本文件分割方法设计.升级可考虑直接读一条记录马上写到数据里.//添加数据库文件IO引用using System.IO;using System.Text;using System.Data;using System.Data.SqlClient;//窗体变量定义/// /// 必需的设计器变量。/// private System.ComponentModel.Container components = null 阅读全文

posted @ 2007-06-19 16:44 风灵溪清 阅读(118) 评论(0) 推荐(0) 编辑

IIS6.0日志文件自定义类代码

摘要: public class IISLogFile{private string LogSoftware;private string LogVersion;private string LogDate;private string LogFields;private string LogContent;public IISLogFile(){}public IISLogFile(string lSoftware, string lVersion, string lDate,string lFields,string lContent){LogSoftware=lSoftware;LogVersi 阅读全文

posted @ 2007-06-19 15:46 风灵溪清 阅读(118) 评论(0) 推荐(0) 编辑

导航