。NET
文章平均质量分 81
brusehht
这个作者很懒,什么都没留下…
展开
-
Provider Model Design Pattern Part 1
Related BooksThis column has been quiet for some time—sorry about that. I have a really, really good excuse, though: Weve been busy working on the next version of the Microsoft® .NET Fram原创 2004-12-15 23:16:00 · 1020 阅读 · 0 评论 -
用.net操作word
要操作Word,我们就需要Word的对象库文件“MSWORD.OLB”(word 2000为MSWORD9.OLB),通常安装了Office Word后,你就可以在office安装目录的Office10文件夹下面找到这个文件,当我们将这个文件引入到项目后,我们就可以在源码中使用各种操作函数来操作Word。具体做法是打开菜单栏中的项目>添加引用>浏览,在打开的“选择组件”对话框中找到MSWORD.O原创 2005-10-26 17:35:00 · 912 阅读 · 0 评论 -
C#中的文件操作
C#追加文件 StreamWriter sw = File.AppendText(Server.MapPath(".")+"//myText.txt"); sw.WriteLine("追逐理想"); sw.WriteLine("kzlll"); sw.WriteLine(".NET笔记"); sw.Flush(); sw.Close(); C#拷贝文件 string OrignFile,NewFi原创 2005-11-18 10:24:00 · 926 阅读 · 0 评论 -
手动生成xml
private void Button1_Click(object sender, System.EventArgs e) { //创建新的xml XmlDocument doc = new XmlDocument(); doc.LoadXml(""); //设置版本信息 XmlDeclaration xmldecl; xmldecl = doc.CreateXmlDe原创 2006-02-15 13:58:00 · 868 阅读 · 0 评论