<style type="text/css"> table, tr, td { border:1px solid #c0c0c0; } </style>
Regards, Sheo Narayan http://www.dotnetfunda.com
Regards, Susan
<asp:GridView ID="dgviewTeeMen" runat="server" AllowPaging="false" AllowSorting="false" AutoGenerateColumns="False" Width="500px" height="300px" HorizontalAlign="Center"> <Columns> <asp:BoundField DataField="Color" HeaderText="Color" /> <asp:BoundField DataField="ParTotal" HeaderText="Par" /> </Columns> <HeaderStyle BackColor="#b6b7bc" ForeColor="Red" Font-Names="Arial" Font-Size="14px" Font-Bold="true" HorizontalAlign="Center" /> <AlternatingRowStyle BackColor="#D5E6F9" ForeColor="#284775" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Font-Names="Arial" Font-Size="12px" HorizontalAlign="Center" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <FooterStyle HorizontalAlign="Center" BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Font-Names="Arial" Font-Size="9px" /> </asp:GridView>
.myGrid td { border: 1px solid #ff0000; }
Login to post response