Get data item from datagrid on web form

J

John Straumann

Hi all:

I have a web form that builds a datagrid from SQL, and I used the
propertybuilder to add a "select" column to the grid. However I cannot
figure out how to get the selected data item, I can return the index, and
the grid itself, but not the actual select row. I.e. let's say the grid
looks like this:

Data 1
Data 2
Data 3

If I click on Data 3 I want to get that data item, data 3...When I used
datagrid.getselecteditem it returned the grid object itself and every
snippet I have found is for windows forms...

Thanks in advance for any and all help.

John.
 

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

Top