Greetings;
I've been having this problem for a while and I have tried every solution that was available on
the internet but nothing seems to be working for me.
This is my Delete.aspx.cs file:
- void grd_dataset_RowDeleting(object sender, GridViewDeleteEventArgs e) {
-
- }
This is my Delete.aspx:
- <asp:GridView ID="GridView1" runat="server" onrowdeleting="grd_dataset_RowDeleting">
- <Columns>
- <asp:CommandField ShowDeleteButton="True" ButtonType="Button" />
- </Columns>
- </asp:GridView>
This is the error I'm getting:
Compiler Error Message: CS1061: 'ASP.delete_aspx' does not contain a definition for 'grd_dataset_RowDeleting' and no extension method 'grd_dataset_RowDeleting' accepting a first argument of type 'ASP.delete_aspx' could be found (are you missing a using directive or an assembly reference?)