Hi Ruca,
Try this one for your datagrid. Give Proper colours of your choice.
<asp:datagrid id="DataGrid1" runat="server" borderstyle="Ri dge"
borderwidth="2p x" cellpadding="3"
cellspacing="1" bordercolor="Wh ite" backcolor="Whit e"
gridlines="None ">
<selecteditemst yle font-bold="True" forecolor="Whit e"
backcolor="#947 1DE"></selecteditemsty le>
<itemstyle borderwidth="1p x" forecolor="Blac k"
borderstyle="So lid" bordercolor="#F F8000" backcolor="#DED FDE"></itemstyle>
<headerstyle font-bold="True" borderwidth="1p x"
forecolor="#E7E 7FF" borderstyle="Do uble" bordercolor="Da rkSlateBlue"
backcolor="#4A3 C8C"></headerstyle>
<footerstyle forecolor="Blac k"
backcolor="#C6C 3C6"></footerstyle>
<pagerstyle horizontalalign ="Right" forecolor="Blac k"
backcolor="#C6C 3C6"></pagerstyle>
</asp:datagrid>
Regards
Ashish M Bhonkiya
"ruca" <ru***@iol.pt > wrote in message
news:ee******** *****@TK2MSFTNG P12.phx.gbl...
Hi,
I have a datagrid that I want to set different styles for header and
normal items. The problem is that I setup right in properties of datagrid, but
nothing happens in design. I can't say why!!!
Can you help me???
For example:
I want that all borders of datagrid can be lightblue, but the border of
datagrid header must be darkblue.
How can I set this???
--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca