摘要: 1、添加引用 2、添加命名空间 3、 使用JObject 1、添加命名空间 2、 阅读全文
posted @ 2016-12-01 21:32 Ghazi_Zhang 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 对坐标属性的设置: 阅读全文
posted @ 2016-12-01 21:19 Ghazi_Zhang 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: 1、mysql 无法插入、删除数据 Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable s 阅读全文
posted @ 2016-11-17 20:49 Ghazi_Zhang 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 同一页面.aspx与.aspx.cs之间参数传递 1. .aspx.cs接收.aspx的参数:由于.aspx和.aspx.cs为继承关系,所以.aspx.cs可以直接对.aspx中的ID进行值提取,具体语句为string b = a.text; 其中a为.aspx中的文本框的ID; 2. .aspx 阅读全文
posted @ 2016-10-26 15:05 Ghazi_Zhang 阅读(3456) 评论(0) 推荐(0) 编辑
摘要: 1.正则表达式基本语法 两个特殊的符号'^'和'$'。他们的作用是分别指出一个字符串的开始和结束。例子如下: "^The":表示所有以"The"开始的字符串("There","The cat"等);"of despair$":表示所以以"of despair"结尾的字符串;"^abc$":表示开始和 阅读全文
posted @ 2016-09-07 15:56 Ghazi_Zhang 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1 #region 私有构造函数和方法 2 3 private SqlHelper() { } 4 5 /// <summary> 6 /// 将SqlParameter参数数组(参数值)分配给SqlCommand命令. 7 /// 这个方法将给任何一个参数分配DBNull.Value; 8 /// 阅读全文
posted @ 2016-08-23 17:43 Ghazi_Zhang 阅读(12457) 评论(3) 推荐(0) 编辑
摘要: 1、MongoDB安装及配置 (1)下载: mongodb官网 https://www.mongodb.com/download-center 进入官网下载页,你会发现版本都是windows Server...... 但是不要担心,本人亲测win10也可以用,所以放心大胆的下载就可以了。安装过程比较 阅读全文
posted @ 2016-08-21 17:20 Ghazi_Zhang 阅读(11799) 评论(1) 推荐(4) 编辑