Click to See Complete Forum and Search --> : Identify the button in a table


dummyagain
July 30th, 2006, 09:20 AM
My page has a table taking data from database.

Each row represents a record, and the last column will be a button. Clicking the button will allow the user to edit that row of record.

However, the problem is that i don't know how to identify each button in each row and make a corresponding onclick listener...

CAn anybody give me some advice?

Thanks

HairyMonkeyMan
July 31st, 2006, 07:14 AM
if you are using a gridview, there is already an event called _rowcommand