TableRow's BackColor

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a TableRow WebControl. I want to set the back color of the same to
"#FDF6E3". However, it doesn't allow me to assign a color code. Instead, I
have to use System.Drawing.Color.ColorName. As the color I am using is not
available in System.Drawing.Color ... is there any other way in which I can
use a custom color ? TIA.
 
You could create your own color:

Color newCol = Color.FromArgb(42, 42, 42);
 

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

Back
Top