Getting data from Gridview

D

David

Hi all,

I have a gridview that I have populated. The gridview has a datakey set.

I have a check box column and a seperate button.

When I click the button, I want to get more detail from the row that the
datakey belongs to. (I know the value of the datakey... what I need to do is
to get the row that the datakey belongs to, so that I can get more values).

Is this even possible?

I have tried google, but I am not sure how to phrase my query to get what I
want.

Any help would be appreciated.
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
 
P

Paul Shapiro

GridViewRow row = this.GridViewPapers.SelectedRow;
string paperTitle = row.Cells[5].Text;
 

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,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top