visualstudio2017 +EF+Mysql生成实体数据模型闪退
摘要:VisualStudio2017+EF+MySql正常运转,费了不少劲,踏过不少坑 1、安装 Connector/NET 8.0.13 地址:https://dev.mysql.com/downloads/connector/net/ 2、安装MySQL for Visual Studio 1.2.
阅读全文
posted @
2018-12-10 23:02
非零
阅读(1224)
推荐(1)
NHibernate错误:Could not compile the mapping document的解决
摘要:用动软代码生成器的NHibernate生成模板,生成一个“XML映射模板”,老是提示Could not compile the mapping document的问题。 各种的找,就是没找到问题。 后来调试的时候,把所有的中断翻出来 发现bool这个类型不认识,再看CodeSmith的模板,里面对M
阅读全文
posted @
2016-03-28 00:45
非零
阅读(922)
推荐(0)
.net网站部署时错误——未能加载文件或程序集(Could not load file or assembly)——的解决
摘要:Could not load file or assembly 'System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencie...
阅读全文
posted @
2014-11-12 09:45
非零
阅读(2390)
推荐(0)
WebDeploymentSetup 合并程序集时出错(ILMerge.Merge: ERROR)
摘要:今天安装WebDeploymentSetup for VS2010,生成成出现:错误3合并程序集时出错: ILMerge.Merge: ERROR!!: Duplicate type 'Manage_GroupAdmin_MPageEdit' found in assembly 'App_Web_tmadpmaq'.aspnet_merge11InfoSysMerge找了半天,参考了好多资料,才明白,原来为了做网页方便,有些相近的网页直接复制,导致不同页面用了相同的类名,搜索“'Manage_GroupAdmin_MPageEdit”,将所有重复的地方改
阅读全文
posted @
2013-04-17 09:08
非零
阅读(2028)
推荐(0)
只能向页面中添加 ScriptManager 的一个实例
摘要:FormView控件中实现DropDownList+Ajax级联时,整个页面只能有一个ScriptManager控件,且ScripManager控件不能放在FormView里,而应放在Form下,FormView控件之前,否则会出现“只能向页面中添加 ScriptManager 的一个实例”的错误。
阅读全文
posted @
2013-03-01 16:32
非零
阅读(5192)
推荐(0)
绑定Hashtable到DataList
摘要:Hashtable list = new Hashtable();list.Add("ltp", "李天平");list.Add("zs", "张三");list.Add("ls", "李四");this.DataList1.DataSource = list;this.DataList1.DataBind(); ENGLISH 中文 ...
阅读全文
posted @
2013-02-19 09:59
非零
阅读(197)
推荐(0)