04 2005 档案

数据库 全文检索
摘要:http://www.ddvip.net/database/mssql/index1/61.htm 阅读全文

posted @ 2005-04-19 11:37 阅读(348) 评论(0) 推荐(0)

如何将txt文件中的内容用循环一行一行读出来啊?
摘要:StreamReader sr; string strContent; sr=File.OpenText(@"D:\CS\Test.txt"); //读第一行 strContent = sr.ReadLine(); sr.Close(); Console.WriteLine(strContent); //循环读所有的内容 while((strContent = sr.ReadLine()) !=... 阅读全文

posted @ 2005-04-17 15:40 阅读(630) 评论(0) 推荐(0)

如何可以用openFileDialog实现打开txt文档并显示到文档中的内容
摘要:OpenFileDialog dialog = new OpenFileDialog(); dialog.Filter = @"(*.txt)|*.txt"; dialog.ShowDialog(); System.IO.StreamReader sr = new StreamReader(dialog.FileName, System.Text.Encoding.Default); string... 阅读全文

posted @ 2005-04-17 15:08 阅读(734) 评论(0) 推荐(0)

编译自己的资源文件编辑器(reseditor.exe)
摘要:vs.net2003 本身带了一个资源文件编辑软件(ResEditor.exe),但默认没有编绎,不能使用。下面是我编绎这个工具的过程: 1.找到reseditor这个目录。一般在“Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Samples\Tutorials\resourcesandloca... 阅读全文

posted @ 2005-04-16 21:57 阅读(1093) 评论(0) 推荐(0)

导航