摘要: //写string FilePath = Server.MapPath(Request.ApplicationPath)+"\\Error.Txt";//先获得该文件的实际地址StreamWriter writer = null; if(!File.Exists(FilePath))// 检测有无文件 { File.CreateText(FilePath);  //如果该文件不存在则建立 } w... 阅读全文
posted @ 2010-03-15 11:21 Fighting. 阅读(310) 评论(0) 推荐(0)