按照行分割文本文件
摘要:这几天单位某项工作需要把一个文本文件切分成N个行数相等的文件,网上的软件都是按照文件大小来分割,所以自己做了一个,很简单的!int ii=1,iii=1;System.IO.StreamReader sr=new System.IO.StreamReader(this.openFileDialog1.FileName);string path="C:\\分割后文件\\1.txt";for(;;){...
阅读全文
posted @
2005-09-29 14:27
honghu
阅读(1424)
推荐(0)