类型“GridView”的控件 必须放在具有 runat=server 的窗体标记内 错误的解决方法
添加重载
public override void VerifyRenderingInServerForm(Control control) { }