Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get grid view column values while looping?
Message
 
 
To
23/06/2008 15:05:47
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01326177
Message ID:
01326190
Views:
12
I googled very hard, but so far could not find the solution using BoundField as in my case.

This one http://www.dotnetspider.com/resources/2696-Simple-Master-Details-GridView-NET.aspx shows how to access regular template field.

I already tried using FindControl ("FirstName") or txtFirstName and it doesn't work.

I may try using Cells, but then I need to know the exact index position.

It is so easy in VFP Grid: MyTable.MyField and in ASP.NET GridView I just could not figure out a syntax. Should not be that hard!
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform