- 博客(7)
- 资源 (1)
- 收藏
- 关注
转载 There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key ''.
问题:There is no ViewData item of type 'IEnumerable' that has the key ''.原因:The problem is because of post back happens on submit button cli
2011-09-27 17:57:28 6198
转载 获取所有数据库名、表名、字段名
1.获取所有数据库名: Select Name FROM Master..SysDatabases2.获取所有表名: select name from sysobjects where type='U' XType='U':表示所有用户表; XType='S'
2011-09-21 19:50:33 821
转载 CS0012: 类型“System.Data.Objects.DataClasses.EntityObject”在未被引用的程序集中定义。必须添加对程序集 “System.Data.Entity, V
说明:在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误消息: CS0012: 类型“System.Data.Objects.DataClasses.EntityObject”在未被引用的程
2011-09-21 10:50:39 10744 1
转载 The type 'System.Data.Objects.DataClasses.EntityObject' is defined in an assembly that is not refere
System.Data.Objects.DataClasses.EntityObject with Entity Framework 4If you for instance create a multi layered application and get the c
2011-09-19 16:25:06 3660
原创 错误:System.Data.MetadataException: 无法加载指定的元数据资源。
解决方法:将自动生成的App.Config中的数据库连接字符串中"换成单引号‘。
2011-09-13 21:12:31 7865 2
转载 Asp.net Mvc 未能加载类型“System.Web.Mvc.ViewPage 的解決方法
解决办法是在web.config 的节点pages 中加入一段validateRequest="false"pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version
2011-09-13 21:05:31 4463
转载 A project with an Output Type of Class Library cannot be started directly
错误:A project with an Output Type of Class Library cannot be started directly原因是:把类库项目作为起始项目了,起始项目只能是可执行程序或者web程序解决方法:在你要启动的项目上单击右键,选
2011-09-10 12:18:27 1003
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人