摘要: //由于日志中含有中文,用常用的Navigate()方法会含有乱码,所以用这种流的方式,一行一行的读。 string fullPath = @"F:\comback\Release\log\20121216.Log"; StringBu... 阅读全文
posted @ 2012-12-18 16:03 哲夫 阅读(153) 评论(0) 推荐(0) 编辑
摘要: //由于日志中含有中文,用常用的LoadFile方法会含有乱码,所以用这种流的方式,一行一行的读。 string fullPath = @"F:\comback\Release\log\20121218.Log"; StringBuilder sb = n... 阅读全文
posted @ 2012-12-18 15:54 哲夫 阅读(194) 评论(0) 推荐(0) 编辑