Method not found: 'Void System.Web.UI.WebControls.GridView.set_EnableModelValidation(Boolean)'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.MissingMethodException: Method not found: 'Void System.Web.UI.WebControls.GridView.set_EnableModelValidation(Boolean)'.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [MissingMethodException: Method not found: 'Void System.Web.UI.WebControls.GridView.set_EnableModelValidation(Boolean)'.]
ASP.default_aspx.__BuildControlGridView1() +0
ASP.default_aspx.__BuildControlform1() +700
ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) +128
ASP.default_aspx.FrameworkInitialize() +50
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.MissingMethodException: Method not found: 'Void System.Web.UI.WebControls.GridView.set_EnableModelValidation(Boolean)'.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [MissingMethodException: Method not found: 'Void System.Web.UI.WebControls.GridView.set_EnableModelValidation(Boolean)'.]
ASP.default_aspx.__BuildControlGridView1() +0
ASP.default_aspx.__BuildControlform1() +700
ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) +128
ASP.default_aspx.FrameworkInitialize() +50
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
解决方案 »
- 请教一个问题
- 百度搜索引擎的问题?
- 关于用户注册审核的问题!!!请教
- 帮忙介绍一个比较好的,容易上手的asp.net的例子,我是一个刚刚初学者,拜托了!
- 求教一个.net开发Web移动应用的问题,欢迎探讨
- 求助有关用水晶报表实现asp.net报表及打印的解决方案
- 大神在哪里?有会写网页抓取数据的程序的吗?
- 开新帖再问:静态新闻要分成3页,难道要分别静态生成3个静态页,是不是有些浪费?
- datagrid删除时,增加了确认对话框,但选择取消时还是执行了删除,还有什么设置吗?
- 点击datagrid的select按扭时,如何取得该行的DataKey值?
- 页面问题
- 用VS开发asp.net网站的时候怎么把解决方案文件和源文件放一起
http://msdn.microsoft.com/zh-cn/library/system.web.ui.webcontrols.gridview.enablemodelvalidation(v=vs.90).aspx