template.aspx

来自「电子商务系统  10.1 系统总体设计  10.1.1 系统功能描述  1」· ASPX 代码 · 共 57 行

ASPX
57
字号
<%@ Page Language="C#" %>
<%@ OutputCache Duration="31536000" VaryByParam="None" Location="Client" %>
<%
if(Request.HttpMethod=="POST")
{
%>
<html>
	<head>
		<title>Posted Values</title>
		<style>
		 body { font:normal 12px arial;} 
		 table { font:normal 12px arial; }
		</style>
	</head>
	<body>
		<table border="1" cellspacing="0" cellpadding="3" style="border-collapse:collapse;width:400px;">
			<thead style="color:white;background-color:steelblue">
				<tr>
					<td>Name</td>
					<td>Value</td>
				</tr>
			</thead>
			<tbody>
				<%foreach(string key in Request.Form.AllKeys){%>
				<tr>
					<td><%=HttpUtility.HtmlEncode(key+"")%></td>
					<td><pre><%=HttpUtility.HtmlEncode(Request.Form[key]+"")%></pre></td>
				</tr>
				<%}%>
			</tbody>
		</table>
	</body>
</html>
<%
}
else
{
	string referrer=Request.QueryString["Referrer"];
	if(referrer==null)
	{
		referrer=Convert.ToString(Request.UrlReferrer);
	}
%>
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
	<head>
		<title>Untitled</title>
		<meta name="GENERATOR" Content="CuteEditor">
		<base target="_blank"  href="<%=referrer%>" />
	</head>
	<body>
	</body>
</html>
<%
}
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?