DATGRID DELETE BUTTON

  • Thread starter Thread starter Alan
  • Start date Start date
A

Alan

Dear all,

I use VB.NET to develop a DATAGIRD, in the grid, there is a ASP Button
Colum, I want to delete the record by clicking the delete button

However, when I use the LINKBUTTON, it can, when I change it to PUSHBUTTON,
it can't

Do anyone knwo why and how to solve this problem?

Manay Thanks
 
If you change it to a push button, you need to add a handler to it. You can
prove this by adding a Response.Write("Im in my Sub") and seeing that the
DeleteCommand event does not fire if you make it a push button.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
Back
Top