And colors?

E

Eagle

And how do you set colors dynamically for a grid using the html numbers that
we have been using for years and now we have to change?? I want to set
dg.BackColor = #4e1716

How do I do that? Thanks for your help.
 
E

Eagle

You are wonderful, thank you very much, for both this one and the previous
message on settings for fonts. I don't know why I couldn't find information
on it. Thanks!


Ken Cox said:
Like this...

dg.BackColor = ColorTranslator.FromHtml("#4e1716")

http://msdn.microsoft.com/library/d...mDrawingColorTranslatorClassFromHtmlTopic.asp

Ken
Microsoft MVP [ASP.NET]
Toronto

Eagle said:
And how do you set colors dynamically for a grid using the html numbers
that
we have been using for years and now we have to change?? I want to set
dg.BackColor = #4e1716

How do I do that? Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top