I was trying to use the GridView.RowDataBound event to change the background color of the row in a GridView. But the data was missing. Here is what I trying: void gvReport_RowDataBound(Object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { if (e.Row.Cells[1].Text.IndexOf(“Total:”) > 0) e.Row.BackColor = System.Drawing.Color.FromArgb(247, 249, 223); }} But my e.Row.Cells[1].Text had no data in it. I am binding […]