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);
 
Back
Top