Getting the value out of a button column in a datagrid

  • Thread starter Thread starter Amaryllis
  • Start date Start date
A

Amaryllis

Hello,

I have a datagrid with one column declared as a button column. When I
click on the column and go to the item command routine, I want to
retrieve the value from that column. I've tried creating another
button in code and setting them equal as well as using the general
way to retrieve values from a grid( e.item.cells(0).text ). I can't
seem to get anything to work. Any ideas?

Thanks!
 
You can try:
e.item.cells(0).Controls(1).Text

Regards,

--
Vanni Tomezzoli
S. Donato Mil., Milano, Italy
http://xoomer.virgilio.it/vtomezzo

Amaryllis said:
Hello,

I have a datagrid with one column declared as a button column. When I
click on the column and go to the item command routine, I want to
retrieve the value from that column. I've tried creating another
button in code and setting them equal as well as using the general
way to retrieve values from a grid( e.item.cells(0).text ). I can't
seem to get anything to work. Any ideas?

Thanks!
 

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

Back
Top