Using an imagebutton and gridview checkbox colunm

B

bthumber

I have a gridview were I am using a colunm of checkboxes, if checked I can
delete that row. My checkbox code:

<asp:ImageButton Id="DeleteMsg" runat="server" ImageUrl="/image/Delete.gif"
onclick="DeleteMsg_Click" />

and the event:
protected void DeleteMsg_Click(object sender, ImageClickEventArgs e)
{

}
But I keep getting and error: cs1061 "Does not contain a definition for
DeletAll... What is wrong with my code?

I have asked this same question in the asp.net Forum but help as of yet.
How do I fix this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top