change border color of gridview

asp.net, colors, gridview

Solution

Try setting the BorderWidth property to 1px.

<asp:GridView ID="GridView1" runat="server" AllowPaging="true" BorderWidth="1px" BorderColor="dbddff"  AllowSoerting="true" Width="100px"  AutoGenerateColumns="false" DataSourceID="GridDataSource"> 

Problem

Using Gridview to display a table stored in the DB, I want to change the border color to #dbddff. It wont accept this or dbddff, what can I do? ``` <asp:GridView ID="GridView1" runat="server" AllowPaging="true" BorderColor="dbddff" AllowSoerting="true" Width="100px" AutoGenerateColumns="false" DataSourceID="GridDataSource"> ``` Thanks

Original source