开发者

compile time error in asp.net

开发者 https://www.devze.com 2023-02-12 05:26 出处:网络
Am running asp.net application.I try to build sample site using gridview.I got compilation error as below,

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

精彩评论

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