Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with GridView

Status
Not open for further replies.

tperri

Programmer
Apr 8, 2006
728
US
Just started to mess around with these -

I have a bunch of TemplateColumns in my table, not bound columns, and when I select a row, I need to extract the value out of Cell[2] - but when I try, I'm getting Empty string

Code:
?myGridView.Rows[0].Cells[0].Text
""

I'm supposing I'm having this difficulty because these aren't bound columns and I'm doing some manual text formatting on the data in them. How do I go about getting their values if this is the case?

Thanks for the help in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top