usercontrolexample.ascx

来自「水晶报表详细资料水晶报表详细资料水晶报表详细资料」· ASCX 代码 · 共 48 行

ASCX
48
字号
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserControlExample.ascx.cs" Inherits="UserControlExample" %>
<asp:Panel ID="InputPanel" runat="server" Height="151px" Width="513px">
    <table style="width: 369px; height: 164px; border-top-style: ridge; border-right-style: ridge; border-left-style: ridge; border-bottom-style: ridge;">
        <tr>
            <td align="center" colspan="2" style="height: 15px">
                <span style="font-size: 11pt">
                用户注册</span></td>
        </tr>
        <tr>
            <td style="width: 81px; height: 20px">
                <span style="font-size: 11pt">用户名:</span></td>
            <td style="width: 100px; height: 20px">
                <asp:TextBox ID="usernameTextBox" runat="server" Height="24px" Width="122px"></asp:TextBox>
                *<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="usernameTextBox"
                    ErrorMessage="用户名不可为空!" Font-Size="9pt"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 81px; height: 29px">
                <span style="font-size: 11pt">密 &nbsp; 码</span>:</td>
            <td style="width: 100px; height: 29px">
                <asp:TextBox ID="passwordTextBox" runat="server" TextMode="Password" Width="122px" Height="24px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 81px; height: 26px">
                <span style="font-size: 11pt">呢 &nbsp; 称:</span></td>
            <td style="width: 100px; height: 26px">
                <asp:TextBox ID="nickTextBox" runat="server" Height="24px" Width="122px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 81px; height: 27px">
                <span style="font-size: 11pt">信 &nbsp; 箱:</span></td>
            <td style="width: 100px; height: 27px">
                <asp:TextBox ID="emailTextBox" runat="server" Height="24px" Width="122px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 81px; height: 3px">
            </td>
            <td style="width: 100px; height: 3px">
                <asp:Button ID="LoginButton" runat="server"  Text="注册"
                    Width="76px" OnClick="LoginButton_Click" />
            </td>
        </tr>
    </table>
</asp:Panel>
&nbsp;

 
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?