摘要: 一、 Node.js教程 Sequelize 阅读全文
posted @ 2018-04-12 10:51 泉白水 阅读(266) 评论(0) 推荐(0) 编辑
摘要: wampserver集合了Apache+PHP+Mysql 下载地址:点这里 安装过程很方便,一直点下一步就行,中间会提示选择默认的浏览器及文件编辑器 起因: 使用过程中提示: In the httpd-vhosts.conf file: The number of <VirtualHost ... 阅读全文
posted @ 2016-04-30 13:56 泉白水 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 解决方法:(以上图错误为例)1、打开 VS 工具命令行2、输入: cd /d [证书所在目录路径] (如:cd /dD:\),回车3、输入:sn -i HZAnalysisIKey.pfx VS_KEY_51072DF2605DC061回车至此,完成! 阅读全文
posted @ 2014-01-13 17:02 泉白水 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 如果Image包含一个嵌入式缩略图像,则此方法会检索嵌入式缩略图,并将其缩放为所需大小。如果Image不包含嵌入式缩略图像,此方法会通过缩放主图像创建一个缩略图像。请求的缩略图像大小为 120 x 120 像素时,GetThumbnailImage方法正常运行。如果从具有嵌入式缩略图的Image处请求较大的缩略图像(例如,300 x 300),则缩略图像的质量可能显著降低。通过调用DrawImage方法缩放主图像(而非嵌入式缩略图),则效果可能较好。publicboolThumbnailCallback(){returnfalse;}publicvoidExample_GetThumb(Pai 阅读全文
posted @ 2013-07-26 15:53 泉白水 阅读(1833) 评论(2) 推荐(0) 编辑
摘要: 进行操作的xml文件:products.xmlView Code增加节点:XmlDocumentdoc=newXmlDocument();doc.Load("products.xml");XmlNodexn=doc.SelectSingleNode("products");XmlElementxe=doc.CreateElement("product");xe.SetAttribute("name","haha");xe.SetAttribute("price"," 阅读全文
posted @ 2013-07-09 23:01 泉白水 阅读(231) 评论(0) 推荐(0) 编辑
摘要: MessageBox.Show()方法,有个参数是MessageBoxIcon,这个是通过图标来表明提示信息的类型,比如一般、警告、错误等MessageBoxIcon是一个枚举所有成员如图:示例:MessageBox.Show("结果", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);MessageBox.Show("结果", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);MessageBo 阅读全文
posted @ 2013-07-08 14:30 泉白水 阅读(3563) 评论(0) 推荐(0) 编辑
摘要: public class Product{ public string ProductCode{get;set;} public string ProductName{get;set;}}//方法,传入对象为Product实例对象public void GetOrSetValue(object obj){ //获取对象类型 Type t = obj.GetType(); //通过属性名称获取对象属性 PropertyInfo name= t.GetProperty("ProductName"); //获取属性值 object nameValue= name... 阅读全文
posted @ 2013-07-01 17:23 泉白水 阅读(1130) 评论(0) 推荐(0) 编辑
摘要: 今晚要看一大学室友发了一个PHP框架过来,让我看看。所以想安装APMServ 5.2.6这个集成软件,解压后,启动不了报错:APMServ 5.2.6.Apache启动失败,请检查相关配置。2.MySQL5.1启动失败的解决方法搜了半天,没一个能解决最后无法中发觉是权限问题我PC装的32位的win7解决方法:右键--以管理员身份运行搞定! 阅读全文
posted @ 2013-05-16 20:48 泉白水 阅读(463) 评论(0) 推荐(0) 编辑