日期:2014-05-18  浏览次数:20592 次

求助:急急急....!!!!请各位高手帮帮忙!
“/web_page”应用程序中的服务器错误。
--------------------------------------------

类型“GirdView”的控件“ctl00_ContentPlaceHolder1_WebGridViewControl1_GV_GirdView”必须放在具有   runat=server   的窗体标记内。  
说明:   执行当前   Web   请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。  

异常详细信息:   System.Web.HttpException:   类型“GirdView”的控件“ctl00_ContentPlaceHolder1_WebGridViewControl1_GV_GirdView”必须放在具有   runat=server   的窗体标记内。

源错误:  

执行当前   Web   请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。    

堆栈跟踪:  


[HttpException   (0x80004005):   类型“GirdView”的控件“ctl00_ContentPlaceHolder1_WebGridViewControl1_GV_GirdView”必须放在具有   runat=server   的窗体标记内。]
      System.Web.UI.Page.VerifyRenderingInServerForm(Control   control)   +214
      System.Web.UI.WebControls.GridView.Render(HtmlTextWriter   writer,   Boolean   renderPanel)   +37
      System.Web.UI.WebControls.GridView.Render(HtmlTextWriter   writer)   +31
      System.Web.UI.Control.RenderControlInternal(HtmlTextWriter   writer,   ControlAdapter   adapter)   +53
      System.Web.UI.Control.RenderControl(HtmlTextWriter   writer,   ControlAdapter   adapter)   +280
      System.Web.UI.Control.RenderControl(HtmlTextWriter   writer)   +24
      System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter   writer,   ICollection   children)   +199
      System.Web.UI.Control.RenderChildren(HtmlTextWriter   writer)   +21
      System.Web.UI.Control.Render(HtmlTextWriter   writer)   +7
      System.Web.UI.Control.RenderControlInternal(HtmlTextWriter   writer,   ControlAdapter   adapter)   +53
      System.Web.UI.Control.RenderControl(HtmlTextWriter   writer,   ControlAdapter   adapter)   +280
      System.Web.UI.Control.RenderControl(HtmlTextWriter   writer)   +24
      System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter   writer,   ICollection   children)   +199
      System.Web.UI.Control.RenderChildren(HtmlTextWriter   writer)   +21
      System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter   writer)   +29
      System.Web.UI.Control.RenderControlInternal(HtmlTextWriter   writer,   ControlAdapter   adapter)   +53
      System.Web.UI.Control.RenderControl(HtmlTextWriter   writer,   ControlAdapter   adapter)   +280
      System.Web.UI.Control.RenderControl(HtmlTextWriter   writer)   +24
      System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter   writer,   ICollection   children)   +199
      System.Web.UI.Control.RenderChildren(HtmlTextWriter   writer)   +21
      System.Web.UI.Control.Render(HtmlTextWriter   writer)   +7
      System.Web.UI.Control.RenderControlInternal(HtmlTextWriter   writer,   ControlAdapter   adapter)   +53
      System.Web.UI.Control.RenderControl(HtmlTextWriter   writer,   ControlAdapter   adapter)   +280
  &nbs