I have a GridView control and I have following RowdataBound event. I understand that this event is rased for each row, but I don't understand the
'if (e.Row.RowType == DataControlRowType.DataRow)' part.
I guess 'e.Row.RowType' means Current row's row type, correct?
As I know, 'DataControlrowType.DataRow' means a data row of data control.
What does that mean if these two are equal???
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
if (e.Row.RowType == DataControlRowType.DataRow)
//Get the price for this row.
// if price > $50, change the background color.