<html xmlns="
http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<% Response.Write(AceYP_Oct20
10.App_Cod
e.MPage.mT
able());%>
</div>
</form>
</body>
</html>
using System;
using System.Collections.Generic
;
using System.Linq;
using System.Web;
namespace AceYP_Oct2010.App_Code
{
public class MPage
{
public static string mTable()
{
// return "<table bgcolor='brown' width='90%'><tr><td>testin
g</td></tr
><table>";
string tempstr;
tempstr = " <table style='width:100%;'> <tr> <td bgcolor='#FFFF99' class='style1' colspan='3'>Page Title</td></tr><tr><td bgcolor='#33CC33' width='120'> " + addMenu() + "</td><td width='760'> main content</td> <td> </td> </tr> <tr> <td bgcolor='#999966' class='style2' colspan='3'> footer</td> </tr> </table> ";
return tempstr;
}
public static string addMenu()
{
<uc1:WebUserControl1 ID="WebUserControl11" runat="server" />
return tempstr;
}
}
}