I\'m trying to modify a CSS style attribute for a div based on the information I get from a database table in the code behind of my aspx page. The following is essentially w
Another way to do it:
testSpace.Style.Add("display", "none");
or
testSpace.Style["background-image"] = "url(images/foo.png)";
in vb.net you can do it this way:
testSpace.Style.Item("display") = "none"