我把设计器添加的代码 private DataGrid datagrid1  ----->private MyDataGrid datagrid1  可以编译通过,但是运行时包错The base class includes the field 'grdIndexGroup', but its type (myDataGrid) is not compatible with the type of control (System.Web.UI.WebControls.DataGrid).请问如何解决???