title: Color specific columns in a gridview
body: <p>All I want to do is make the last three columns of my grid view yellow.  Can I not use an itemstyle in the boundfield because I'm using css?  If not how can I easily do this?  Thanks!</p>
  
  <pre><code>   &lt;asp:GridView 
          ID="grdMyProducts"
          DataSourceID = "srcGetMyProducts" 
          CssClass="GridViewStyle"
          AutoGenerateColumns = "false"
          AllowPaging = "false"
          GridLines="None"
          runat="server" &gt;
          &lt;RowStyle CssClass="RowStyle" /&gt;    
          &lt;EmptyDataRowStyle CssClass="EmptyRowStyle" /&gt;    
          &lt;PagerStyle CssClass="PagerStyle" /&gt;    
          &lt;SelectedRowStyle CssClass="SelectedRowStyle" /&gt;    
          &lt;HeaderStyle Wrap="false" CssClass="HeaderStyleFilter" /&gt;   
          &lt;EditRowStyle CssClass="EditRowStyle" /&gt;    
          &lt;AlternatingRowStyle CssClass="AltRowStyle" /&gt;
          &lt;Columns&gt;
          &lt;asp:BoundField
              DataField="DistributorName"
              HeaderText="Distributor" /&gt;
          &lt;asp:BoundField
              DataField="Size"
              HeaderText="Size" /&gt;
          &lt;asp:BoundField
              DataField="Description"
              HeaderText="Description" /&gt;
          &lt;asp:BoundField
              DataField="Category"
              HeaderText="Category" /&gt;
              &lt;ItemStyle BackColor="#f6f17c"/&gt;
          &lt;asp:BoundField
              DataField="Amount"
              HeaderText="Amount" /&gt;
              &lt;ItemStyle BackColor="#f6f17c"/&gt;
          &lt;asp:BoundField
              DataField="Unit"
              HeaderText="Unit" /&gt;
              &lt;ItemStyle BackColor="#f6f17c"/&gt;
          &lt;/Columns&gt;
         &lt;/asp:GridView&gt;
  </code></pre>