title: Row background color in gridview?
body: <p>In asp.net application, I am using grid-view control in that I am binding the data to the <code>label</code> which is in <code>grid-view</code>.<br/>
  If <strong>data is empty</strong> then the <strong>color of the row</strong> should be in red <br/>
  If not I mean if data is there to bind  then the <strong>row in green</strong>.
  This is my code:</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText ="Holiday Region"&gt;
       &lt;ItemTemplate &gt;
           &lt;asp:Label ID ="lblholdareg" runat ="server" Text ='&lt;%# Eval("Holidaregion") %&gt;' &gt;
           &lt;/asp:Label&gt;
       &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>