gridview
How can i access individual elements of a gridview?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
rahul bhosalePosted Feb 21, 2009, 3:50 AM
hi...
check out this...
gridview.rows[i].columns[j]
Rajeev DalaviPosted Feb 26, 2009, 10:45 AM
Rajeev DalaviPosted Feb 26, 2009, 5:40 AM
Hi..
I can't seem to find the control's attributes you've mentioned. Currently i'm using the gridview control to pick the data from the database. I am not directly configuring it, but writing the code behind to fill the grids. I have checkboxes for all my rows. I need to fetch a particular field values' from the grid that are checked. Is there any other or a proper way to fetch this column off the grid???
Vijaya KadiyalaPosted Feb 21, 2009, 3:05 PM
Hi
getSelectedItem() returns the selected item.
getSelectedView() returns the selected view, which the item could be
derived depending on the view.
Thanks -- Vijaya Kadiyala
http://dotnetvj.blogspot.com