Access GridView cell data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ghayas
    New Member
    • Apr 2010
    • 6

    Access GridView cell data

    Hello,
    its quite strange that i m itearing a gridview to get some of its cell data but its not show me data,
    i m doing like this
    for i=0 to GView.rows.coun t-1
    str=GView.rows( i).cell(0).text
    next

    but i m unable to get cell data
    any idea?

    Thanks
  • yarbrough40
    Contributor
    • Jun 2009
    • 320

    #2
    are the fields in your Gridview template fields? if so you will need the FindControl method to extract the text values of the template controls

    Comment

    • Ghayas
      New Member
      • Apr 2010
      • 6

      #3
      thanks,yarbroug h40
      i m making the same mistake u have mentioned,

      Comment

      Working...