AlternatingRowStyle

 

<div>
<asp:Label ID=”StatusLabel1″ runat=”server” Text=”Label”></asp:Label>
<asp:GridView ID=”companyGridView” runat=”server” BackColor =”White”
BorderColor=”#999999″ GridLines=”Vertical” BorderWidth=”1px” CellPadding=”3″ Width=”700px”>
<HeaderStyle BackColor=”#000084″ Font-Bold=”true” ForeColor=”White” Font-Size =”Small” />
<EditRowStyle BackColor=”#008A8C” Font-Bold=”true” ForeColor=”White” Font-Size =”Small” />
<RowStyle BackColor=”#EEEEEE” ForeColor=”Black” Font-Size=”Small” HorizontalAlign=”Left” />
<AlternatingRowStyle BackColor=”#DCDCDC” Font-Size=”Small” />
<SelectedRowStyle BackColor =”#008ABC” Font-Bold =”true” ForeColor=”White” Font-Size=”small” />

</asp:GridView>
</div>