<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="gb2312" %>
<!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>
</head>
<body>
选择上传的文件:<input id="File1"type="file"runat="server">
<input type="button"id="Button1"value="上传"runat="server">
</body>
</html>
没有出现预计的效果,提示错误:
分析器错误 
说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 分析器错误信息: 服务器标记的格式不正确。源错误: 
行 7:  </head>
行 8:  <body>
行 9:  选择上传的文件:<input id="File1"type="file"runat="server">
行 10: <input type="button"id="Button1"value="上传"runat="server">
行 11: </body>
 源文件: /ceshi/12.aspx    行: 9