开发者

compile time error in asp.net

Am running asp.net application.I try to build sample site using gridview.I got compilation error as below,

CS1061: 'ASP.gridedit_aspx' does not contain a definition for 'GridView1_RowUpdated' and no extension method 'GridView1_RowUpdated' accepting a first argument of type 'ASP.gridedit_aspx' could be found (are you missing a using directive or an assembly reference?)

Line 13:         <asp:GridView ID="Gri开发者_Go百科dView1" runat="server" DataKeyNames="ID" 
Line 14:               AutoGenerateColumns="False" 
Line 15:               DataSourceID="SqlDataSource1" 


You have an GridView1_RowUpdated event handler declared in your page markup, but your code behind does not contain such a function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜