Gridview
How can i access individual elements of a gridview?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
rahul bhosale15 reputationPosted Feb 20, 2009, 10:50 PM EST
hi...
check out this...
gridview.rows[i].columns[j]
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Feb 21, 2009, 10:05 AM EST
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
Rajeev Dalavi12 reputationPosted Feb 26, 2009, 12:40 AM EST
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???
Rajeev Dalavi12 reputationPosted Feb 26, 2009, 5:45 AM EST