01 2018 档案

摘要:简单工厂模式只是解决对象的创建问题 完成计算器: 仅利用面向对象的封装特性,完成计算器。 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Calculate 阅读全文
posted @ 2018-01-29 22:11 水墨晨诗 阅读(175) 评论(0) 推荐(0) 编辑
摘要:url : ../../Service/MSD_Maintain.ashx/?action=Add4T2 url : Handler/MaintainHandler.ashx/?action=GenerateCombobox 1、在url中加上“/”,就会变成绝对路径,会去你的根目录开始查找的 2、 阅读全文
posted @ 2018-01-24 10:27 水墨晨诗 阅读(2818) 评论(0) 推荐(0) 编辑
摘要:Create Table Article ( Id Int Identity(1,1) Not Null, Title Varchar(50) Not Null Constraint uq_ArticleTitle Unique, Keywords Varchar(50) Not Null, Abs 阅读全文
posted @ 2018-01-21 17:04 水墨晨诗 阅读(491) 评论(2) 推荐(1) 编辑
摘要:using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using S 阅读全文
posted @ 2018-01-14 15:30 水墨晨诗 阅读(133) 评论(0) 推荐(0) 编辑
摘要:1、向文件中写入XML XmlDocument xmlDoc = new XmlDocument();//在内存中构建一个Dom对象 XmlDeclaration xmld = xmlDoc.CreateXmlDeclaration("1.0", "utf-8", "yes");//指定文档声明 x 阅读全文
posted @ 2018-01-06 22:43 水墨晨诗 阅读(246) 评论(0) 推荐(0) 编辑
摘要://cmd:"regsvr32 " + dllPath(注册dll的语句) //output:string.Empty(注册后的反馈信息 ) private static void runCmd(string cmd, out string output) { string CmdPath = @"C:\Windows\System32\cmd.exe"; cmd = cmd.Trim... 阅读全文
posted @ 2018-01-03 16:25 水墨晨诗 阅读(2735) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示