上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 方法一: 1.程序包管理器控制台 输入指令:Enable-Migrations 注: 执行 Enable-Migrations 时可能会因为错误而打断,此时需要再次运行加参数的命令Enable-Migrations -Force:Migrationshave already been enabled 阅读全文
posted @ 2018-02-24 09:37 连先森 阅读(148) 评论(0) 推荐(0) 编辑
摘要: <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad 阅读全文
posted @ 2018-01-31 11:26 连先森 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 1.得到当前应用程序的根目录 public static string GetBaseDirectory() { var baseDirectory = AppDomain.CurrentDomain.SetupInformation.PrivateBinPath; if (AppDomain.Cu 阅读全文
posted @ 2018-01-26 14:31 连先森 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 1.通过反射创建对象 方法1 public static IMessageReceiver CreateInstance(WeixinMessage weixinMessage) { IMessageReceiver result = null; MessageTypeAttribute messa 阅读全文
posted @ 2018-01-26 14:28 连先森 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 错误信息:检索 COM 类工厂中 CLSID 为{00024500-0000-0000-C000-000000000046} 的组件失败,原因是出现以下错误:80070005 拒绝访问。 (异常来自HRESULT:0x80070005 (E_ACCESSDENIED))。 解决方式: 1.输入命令  阅读全文
posted @ 2018-01-17 21:33 连先森 阅读(453) 评论(0) 推荐(0) 编辑
摘要: <link href="~/Areas/Admin/Content/uploadify/uploadify.v3.2.css" rel="stylesheet" /> <script src="~/Areas/Admin/Content/uploadify/jquery.uploadify.v3.2 阅读全文
posted @ 2018-01-17 15:13 连先森 阅读(147) 评论(0) 推荐(0) 编辑
摘要: <link href="~/Content/BootStrap/css/bootstrap-datetimepicker.min.css" rel="stylesheet" /> <script src="~/Content/BootStrap/js/moment-with-locales.js"> 阅读全文
posted @ 2018-01-17 14:36 连先森 阅读(99) 评论(0) 推荐(0) 编辑
摘要: public void ExportExcelBrand() { string elxStr = ""; string body = ""; List list = this.BaseService.GetModelList(u => u.MemberID == this.MemberCont... 阅读全文
posted @ 2018-01-17 13:17 连先森 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 一.说明 用c#基于.net 平台的MVC框架开发的微网站。 二.对象实体映射框架 1.Entity Framework:https://msdn.microsoft.com/en-us/library/jj592674(v=vs.113).aspx CodeFirst技术 1.1常用的数据库操作 阅读全文
posted @ 2018-01-12 16:52 连先森 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-01-04 14:20 连先森 阅读(310) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页