Why doesn't the following code work for a [asp.net + C#] project? How
else can I assign the 'class' keyword a value from outside (not
embedded within the asp.net code, say as in: class=class_red)?
//some C# function
String GetCSSClass()
{
return "class_red";
}
//code in asp.net
<head</head>
<body class = <% GetCSSClass(); %
some text using format contained in css class.
</body>