request form不显示表单内容

来源:百度知道 编辑:UC知道 时间:2024/05/27 17:04:59
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="409" height="118" border="0" align="center">
<

<table width="409" height="118" border="0" align="center">
<tr>
<td height="54"><form id="form1" name="form1" method="post" action="">
<label>user
<input name="ym" type="text" value="0011" size="10" />
</label>
</td>
</tr>
<tr>
<td><label>
<input type="submit" name="Submit" value="提交" />
</label>
</form> </td>
</tr>
<tr>
<td>user:<%= FormatNumber( Request.Form("ym") , 2, -2, -2, -2) %></td>
</tr>
</table>

应该为这样,你那样写成了两个表单了
这个表输入数字才显正确,输入其它字符会出错