标题:可以帮忙看一下这个为什么运行出来老在报错吗
只看楼主
小涂
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2015-6-18
结帖率:0
 问题点数:0 回复次数:1 
可以帮忙看一下这个为什么运行出来老在报错吗
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ModifyPwd.aspx.cs" Inherits="AddressList.ModifyPwd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.

<html xmlns="http://www. >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center" border="1" width="303">
        <tr>
            <td width="83" height="33">旧密码:</td>
            <td width="204" height="33">
                <asp:TextBox ID="txtOldPwd" runat="server" OnTextChanged="TextBox1_TextChanged"></asp:TextBox></td>
        </tr>
        <tr>
            <td height="37">新密码:</td>
            <td height="37">
                <asp:TextBox ID="txtNewPwd" runat="server"></asp:TextBox><br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNewPwd"
                    ErrorMessage="新密码不能为空"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td height="43">确认新密码:</td>
            <td height="43">
                <asp:TextBox ID="txtConfirmPwd" runat="server" OnTextChanged="TextBox3_TextChanged"></asp:TextBox><br />
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtConfirmPwd"
                    ControlToValidate="txtNewPwd" ErrorMessage="必须输入确认密码"></asp:CompareValidator></td>
        </tr>
        <tr>
            <td height="47" colspan="2">
                &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                <asp:Button ID="btnSubmit" runat="server" OnClick="butSubmit_Click" Text="确认" />
                &nbsp; &nbsp;<asp:Button ID="btnRest" runat="server" OnClick="btnRest_Click" Text="重置" />
                &nbsp; &nbsp;<asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text="返回" /></td>
        </tr>
</table>
    </div>
    </form>
</body>
</html>
搜索更多相关主题的帖子: PUBLIC server border center title 
2015-06-18 15:32
hu9jj
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:红土地
等 级:贵宾
威 望:396
帖 子:11713
专家分:43267
注 册:2006-5-13
得分:0 
是哪行代码错了?出错提示是什么?

活到老,学到老! http://www. E-mail:hu-jj@
2015-06-18 19:17



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-446758-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.096731 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved