C#中读取文件内容
http://www.chinaaspx.com/comm/dotnetbbs/Showtopic.aspx?Forum_ID=6&Id=77599&PPage=1
FileStream fs=n......
FileStream fs=new FileStream("d:\\book\\book1.txt");
StreamReader sr=new StreamReader(fs,Systemt.Text.Encoding.GetEncoding("gb2312"));
rtbFile.Text=sr.ReadToEnd();
发帖时间:7/9/2004 4:24:51 PM
FileStream fs=n......
FileStream fs=new FileStream("d:\\book\\book1.txt");
StreamReader sr=new StreamReader(fs,Systemt.Text.Encoding.GetEncoding("gb2312"));
rtbFile.Text=sr.ReadToEnd();
发帖时间:7/9/2004 4:24:51 PM
欢迎光临我的 Blog : http://cn.thespoke.net/MyBlog/xrascal/MyBlog.aspx |