By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,511 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

DATGRID DELETE BUTTON

P: n/a
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

Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"Alan" <sa********@hotmail.com> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
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

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.