What is the best way for me to access extended properties of a DataColumn on rowDataBound and apply a certain class and tool-tip if the error key exists?
protected void gridView_rowDataBound(object sender, GridViewRowEventArgs e)
{
switch (e.Row.RowType)
{
case DataControlRowType.Header:
((DataRow)e.Row.DataItem)...
break;
case DataControlRowType.DataRow:
break;
}
}
This is what I got before I got stuck. I noticed that my DataRow cast did not have a reference to the DataColumn.