index.aspx

(完整代码) 3KB

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>

<!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>
    <script type="text/javascript">
        function Cancel()
        {
            document.getElementById("txtTopic").value="";
            document.getElementById("txtLeave").value="";
        }
    </script>
</head>
<body style="font-size:9pt">
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 780px;" align="center">
            <tr>
                <td colspan="2" style="height: 50px; font-weight: bold; font-size: xx-large; vertical-align: middle; color: #ffffff; background-color: #009900; text-align: center;">
                    留言板</td>
            </tr>
            <tr>
                <td style="vertical-align: middle; width: 85px; text-align: right; border-left: #006600 thin solid;">
                    用户名:</td>
                <td style="width: 695px; border-right: #006600 thin solid;">
                    <asp:TextBox ID="txtUserName" runat="server" ReadOnly="True"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="vertical-align: middle; width: 85px; text-align: right; border-left: #006600 thin solid;">
                    留言主题:</td>
                <td style="width: 695px; border-right: #006600 thin solid;">
                    <asp:TextBox ID="txtTopic" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTopic"
                        ErrorMessage="主题不能为空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="vertical-align: middle; width: 85px; text-align: right; border-left: #006600 thin solid; height: 264px;">
                    留言内容:</td>
                <td style="width: 695px; border-right: #006600 thin solid; height: 264px;">
                    <asp:TextBox ID="txtLeave" runat="server" Height="256px" Width="695px" TextMode="MultiLine"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtLeave"
            ErrorMessage="留言不能为空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td colspan="2" style="border-right: #006600 thin solid; vertical-align: middle; border-left: #006600 thin solid; height: 24px; text-align: center">
                    <asp:Button ID="btnLeave" runat="server" Text="留言" OnClick="btnLeave_Click" />
                    <input id="btnCancel" type="button" value="取消"  onclick="Cancel();"/></td>
            </tr>
            <tr>
                <td colspan="2" style="border-right: #006600 thin solid; vertical-align: middle; border-left: #006600 thin solid; border-bottom: #006600 thin solid; height: 24px; text-align: center">
                    本站共有:<asp:Label ID="lblCount" runat="server" Font-Bold="True" ForeColor="#C04000"></asp:Label>位注册会员</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。