This question may look funny, but I am struggling with the Syntax 🙁
I have Background color in my code behind file and need to fix the syntax here, so my Table shows correct background color:
<Table style="background-color:" '<%=BGColor %>' """>
What have i done incorrect in syntax
BGColor shows correct value in codebehind, during debugging.
It should look something like this:
so finally it will look like:
or
Please note that hex format (
cecece) should have#at the beginning. And named colors (like green, yellow, white) do not need that.