Form Now On...

导航

 

2011年9月15日

摘要: 读取文件时,路径的设置下面3种都可以:View Code protected void ReadUserName() { //string path = "c:\\temp/passport.txt"; //string path = "c:/temp/passport.txt"; string path = "c:\\temp\\passport.txt"; int maxNum = 0; using (StreamReader sr = new StreamReade... 阅读全文
posted @ 2011-09-15 10:40 zjwei55 阅读(241) 评论(0) 推荐(0)