Get data item from datagrid on web form

  • Thread starter Thread starter John Straumann
  • Start date Start date
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.
 
Back
Top