当前位置: 代码迷 >> ASP.NET >> !net异常查找 </asp:Panel> 标记时遇到意外的文件结尾
  详细解决方案

!net异常查找 </asp:Panel> 标记时遇到意外的文件结尾

热度:3110   发布时间:2013-02-26 00:00:00.0
求助!!.net错误查找 </asp:Panel> 标记时遇到意外的文件结尾.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GetPwd.aspx.cs" Inherits="GetPwd" %>

<%@ Register src="Top.ascx" tagname="Top" tagprefix="uc1" %>

<!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 runat="server">
  <title>无标题页</title>
  <style type="text/css">
  .style1
  {
  width: 778px;
  }
  </style>
</head>
<body>
  <form id="form1" runat="server">
  <div>
   
  <table align="center" cellpadding="0" cellspacing="0" class="style1">
  <tr>
  <td height="106">
  <uc1:Top ID="Top1" runat="server" />
  </td>
  </tr>
  <tr>
  <td height="3">
  <img alt="" src="Images/horblue.gif" style="width: 760px; height: 6px" /></td>
  </tr>
  <tr>
  <td height="5">
  &nbsp;</td>
  </tr>
  <tr>
  <td height="500">
  <asp:Panel ID="InsertUserName" runat="server">
  <table class="bor_1" height="500" cellSpacing="0" cellPadding="0" width="778" border="0">
<tr>
<td align="center" colSpan="3" height="40"><IMG id="image1" height="22" src="images/icon_016.gif" width="22" align="absMiddle" border="0" name="image1">&nbsp;&nbsp;<B> 忘 记 密 码</B></td>
</tr>
<tr>
<td width="250" height="31">&nbsp;&nbsp;</td>
<td align="left" colSpan="2" height="31">&nbsp;&nbsp;<FONT color="red">请输入您的用户名,然后提交,我们将确认您的身份。</FONT></td>
</tr>
<tr>
<td width="250" height="30">&nbsp;&nbsp;</td>
<td width="80" height="30">&nbsp;&nbsp;用&nbsp;&nbsp;户&nbsp;&nbsp;名:</td>
<td width="448" align="left">
<asp:textbox id="UserName" runat="server" Width="200px" CssClass="box1" MaxLength="25"></asp:textbox></td>
</tr>
<tr>
<td align="center" colSpan="3" height="40">
<asp:Button id="GetUser" runat="server" CssClass="button-a" Text="提 交" onclick="GetUser_Click"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT class="button-a" onfocus="if(this.blur)this.blur()" type="reset" value="清 空">
</td>
</tr>