Make the body tag accessible to the server side code with the runat attribute:
<body runat="server" id="tagBody">
Then, in your codebehind, you do this:
protected System.Web.UI.HtmlControls.HtmlGenericControl tagBody;
Then you can access the body tag and do anything on the control such as assigning an attribute:
tagBody.Attributes["bgcolor"] = "inserted value";
-
Peter