I am trying to turn a row in a gridview red if a column has a value of 0. My code is attached. I'm told "Non-invocable member 'System.Web.UI.WebControls
m' cannot be used like a method". How should I handle this?
protected void gvBeneficiary_RowDataBound(object sender, GridViewRowEventArgs e)
if (e.Row.DataItem("units_built") == 0)
e.Row.BackColor = Color.Red;