用StreamReader读取服务器端文本文件,或远程网页-CSDN博客

网站介绍:用StreamReader读取服务器端文本文件,或远程网页放在WebService中,返回字符串,使得ajax解析方便。 [WebMethod] public string getFile(string fn){ string str=""; string line=""; Str..._c# streamreader sr = new streamreader 远程路径