上一页 1 ··· 6 7 8 9 10
摘要: 如何为代码选择开源许可证,这是一个问题。 世界上的开源许可证,大概有上百种。很少有人搞得清楚它们的区别。即使在最流行的六种 GPL、BSD、MIT、Mozilla、Apache和LGPL 之中做选择,也很复杂。 乌克兰程序员Paul Bagwell,画了一张分析图,说明应该怎么选择。这是我见过的最简 阅读全文
posted @ 2016-01-22 15:25 chenjingchun 阅读(200) 评论(0) 推荐(0) 编辑
摘要: var filter = $(this).val(); var filterResult = $(this).find('h2:Contains(' + filter + ')'); if (filterResult.length == 0) { //todo } 阅读全文
posted @ 2016-01-22 15:19 chenjingchun 阅读(540) 评论(0) 推荐(0) 编辑
摘要: html中js连续事件或频率控制 阅读全文
posted @ 2016-01-22 15:11 chenjingchun 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 1安装MySQL Connector/Net http://dev.mysql.com/downloads/connector/net/ 2还需要下载一个MySQL for VisualStudio版本,用于在VS中可以在数据源中引用MySQL http://dev.mysql.com/downloads/windows/visualstudio/ 【添加环境变量:C:\wamp\bin... 阅读全文
posted @ 2016-01-22 14:50 chenjingchun 阅读(416) 评论(2) 推荐(0) 编辑
摘要: MySQL基础配置之mysql的默认字符编码的设置(my.ini设置字符编码) MySQL的默认编码是Latin1,不支持中文,那么如何修改MySQL的默认编码呢,下面以设置UTF-8为例来说明. 需要注意的是,要修改的地方非常多,相应的修改方法也很多。下面是一种最简单最彻底的方法: 一、Windows系统 1、中止MySQL服务 2、在MySQL的安装目录下找到my.ini,... 阅读全文
posted @ 2016-01-22 14:45 chenjingchun 阅读(14784) 评论(0) 推荐(1) 编辑
摘要: [DbConfigurationType(typeof(MySqlEFConfiguration))]//添加特性 public partial class Model1 : DbContext { public Model1() : base("name=Model1") { } public DbSet text123 { get; se... 阅读全文
posted @ 2016-01-22 14:11 chenjingchun 阅读(532) 评论(0) 推荐(0) 编辑
摘要: using (TransactionScope trans = new TransactionScope()) { try { db.Entry(entity); db.Set().Add(entity); ... 阅读全文
posted @ 2016-01-19 11:58 chenjingchun 阅读(164) 评论(0) 推荐(0) 编辑
摘要: //自定义一个DatePicker.cshtml文件@helper Init(){ //日期字体颜色 }@helper Render(params string[] controlIds){ if (controlIds != null) { }... 阅读全文
posted @ 2016-01-14 12:02 chenjingchun 阅读(645) 评论(0) 推荐(0) 编辑
摘要: public class CommonAuthorize : AuthorizeAttribute { protected override bool AuthorizeCore(HttpContextBase httpContext) { ... 阅读全文
posted @ 2016-01-14 11:53 chenjingchun 阅读(663) 评论(0) 推荐(0) 编辑
摘要: 目前为止,我在百度上得到关于MapForce的信息少之又少,所以把自己的一些经验写下来,与大家分享。如果要生成xml的话,就可以直接创建xml架构当作数据的目标文件。以下是我做的AMS&ACI&ISF的xml模板AMSACIISF.XSD有需要EDI AMS、ACI、ISF的可以直接复制使用 ... 阅读全文
posted @ 2014-04-17 10:26 chenjingchun 阅读(705) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10