TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Basher Hart
NA
5
939
Form does not contain a definition for method
Jul 18 2016 7:05 AM
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?)
Reply
Answers (
2
)
Crystel report display issue
Master page not showing table and images in browser.