C#文本文件的操作
摘要:FileStream fsInfo = new FileStream( "文件路径(在项目内的)", FileMode.Open, FileAccess.Read ); StreamReader srInfo = new StreamReader( fsInfo, System.Text. Encoding.GetEncoding( "GB2312" ) ); srInfo.BaseStream.Seek( 0, SeekOrigin.Begin ); txtValue.Value = " "; string strLine = sr
阅读全文
posted @ 2007-11-18 21:44