上一页 1 ··· 7 8 9 10 11
摘要: MySQL基础配置之mysql的默认字符编码的设置(my.ini设置字符编码) MySQL的默认编码是Latin1,不支持中文,那么如何修改MySQL的默认编码呢,下面以设置UTF-8为例来说明. 需要注意的是,要修改的地方非常多,相应的修改方法也很多。下面是一种最简单最彻底的方法: 一、Windows系统 1、中止MySQL服务 2、在MySQL的安装目录下找到my.ini,... 阅读全文
posted @ 2016-01-22 14:45 chenjingchun 阅读(14882) 评论(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 阅读(540) 评论(0) 推荐(0)
摘要: using (TransactionScope trans = new TransactionScope()) { try { db.Entry(entity); db.Set().Add(entity); ... 阅读全文
posted @ 2016-01-19 11:58 chenjingchun 阅读(174) 评论(0) 推荐(0)
摘要: //自定义一个DatePicker.cshtml文件@helper Init(){ //日期字体颜色 }@helper Render(params string[] controlIds){ if (controlIds != null) { }... 阅读全文
posted @ 2016-01-14 12:02 chenjingchun 阅读(654) 评论(0) 推荐(0)
摘要: public class CommonAuthorize : AuthorizeAttribute { protected override bool AuthorizeCore(HttpContextBase httpContext) { ... 阅读全文
posted @ 2016-01-14 11:53 chenjingchun 阅读(675) 评论(0) 推荐(0)
摘要: 目前为止,我在百度上得到关于MapForce的信息少之又少,所以把自己的一些经验写下来,与大家分享。如果要生成xml的话,就可以直接创建xml架构当作数据的目标文件。以下是我做的AMS&ACI&ISF的xml模板AMSACIISF.XSD有需要EDI AMS、ACI、ISF的可以直接复制使用 ... 阅读全文
posted @ 2014-04-17 10:26 chenjingchun 阅读(747) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11