一个奇怪的问题。请各路大侠关注!谢谢!
遇到一个很奇怪的问题:
系统报错为:
Compiler Error Message: BC30456: 'MyDataGrid_EditCommand' is not a member of 'ASP.newslist_aspx'.
出错代码为:
Line 14: <asp:datagrid id="MyDataGrid" style="Z-INDEX: 104; LEFT: 14px; POSITION: absolute; TOP: 45px" runat="server" Width="500px" AllowPaging="True" Font-Size="9pt" Font-Names="SimSun" CellPadding="5" BorderColor="Black" BorderWidth="1px" OnPageIndexChanged="change_page_index" AutoGenerateColumns="False" OnEditCommand="MyDataGrid_EditCommand">
说明:MyDataGrid_EditCommand是codebehind内的一个处理程序