protected
void
grdVerification_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
{
GridDataItem item = (GridDataItem)e.Item;
string
header = item.cells[0].HeaderText
}
}
Is there a way to access the column header text when you're in the item_databound event? I am autogenerating my columns and I won't know the names of the columns, but I need to be able to figure out which column I am in by name and not by index. I would like to do something like the attached example.
Thanks!
Tami