After I bind data to a datagrid, how can I get the column name of a field in the database? I know I can access the values of columns inside each row by accessing e.Item.Dataitem(i) (by looking at e.Item.ItemType) in the ItemCreated event on a databind.
My intention is to change the appearance of data values for only some columns - so is the name of the column stored anywhere so that I can check for it? Otherwise I wouldn't know which column is being bound to a particular dataitem.
arvind
My intention is to change the appearance of data values for only some columns - so is the name of the column stored anywhere so that I can check for it? Otherwise I wouldn't know which column is being bound to a particular dataitem.
arvind