[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Loud

1/15/2003 2:11:00 PM

Hi

how can i do for to set a color (hexadecimal) in
datagrid.backcolor, for example
i want this
datagrid.backcolor = "#ffffff"


but this is allowed
datagrid.backcolor = color.blue


how can i do?

Regards

1 Answer

Ken Cox [MS MVP]

1/16/2003 12:40:00 AM

0

Does this do what you need?

DataGrid1.BackColor = ColorTranslator.FromHtml("#66ccff")

Ken [MVP ASP.NET]


"Loud" <fosorio@security.cl> wrote in message
news:688f01c2bc97$98df9bb0$8df82ecf@TK2MSFTNGXA02...
Hi

how can i do for to set a color (hexadecimal) in
datagrid.backcolor, for example
i want this
datagrid.backcolor = "#ffffff"


but this is allowed
datagrid.backcolor = color.blue


how can i do?

Regards