asp.net 读取txt文件
StreamReader sr = new StreamReader(MapPath("weather.txt"), System.Text.Encoding.Default);
String input = sr.ReadToEnd();
sr.Close();
asp.net修改txt文件2008-01-25 18:34
string path = "D:\\56huiWord\\test.txt"; File.Delete(fileName); |
asp.net 读取txt文件
StreamReader sr = new StreamReader(MapPath("weather.txt"), System.Text.Encoding.Default);
String input = sr.ReadToEnd();
sr.Close();
string path = "D:\\56huiWord\\test.txt"; File.Delete(fileName); |