title: datalist itemdatabound event having issues changing item bg color on condition
body: <p>Hey guys I'm trying to do something really simple.. I'm checking a data column in my datarow if it's > 0 I want the item back color in the datalist to be green if its &lt; 0 remain transparent...</p>
  
  <pre><code>if (e.Item.ItemType == ListItemType.Item ||
           e.Item.ItemType == ListItemType.AlternatingItem)
      {
          DataRowView drv = (DataRowView)(e.Item.DataItem);
          int rating = int.Parse(drv.Row["rating"].ToString());
  
          if (rating &gt; 0)
          {
              e.Item.BackColor = System.Drawing.Color.Green;
          }
  
      }
  </code></pre>
  
  <p>I've stepped through with debugger and it's hitting all the conditions the color just isn't changing.. I know it has to be something simple I just can't see it.</p>