How To get a column name when OnItemCommand is fired

K

KMILO

Hello,

I have a OnItemCommand event in the datagrid that could select all the row
in it by a linkbutton, the problem is that there are 7 different columns to
select and the server side function have to know which column the user
select, in the internet samples always appears this line "e.Items.Cells[x]"
having x like a column number, never gets dinamically the column number of
the item clicked, so the question is somebody knows how I can get the
clicked column name or number???

Thanks In Advance

KMILO
 

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,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top