MS Gridview + refering to a cell

mike55

Contributor
Joined
Mar 26, 2004
Messages
727
Location
Ireland
hi all

I have a gridview on my page, I happen to be looping through the grid row by row, at certain times, it is necessary to go in and retrieve a certain value in a cell in the particular row.

I know that I can using the following cmd to access a cell once I know what cell I need:
Code:
gvMembers.Rows(gridRow).Cells(1).Text

But is there anyway that I can replace the cell number with the name of the cell, or the underlying datatype?

Mike55.
 
Back
Top