zoukankan      html  css  js  c++  java
  • asp:Wizard 应用

     <asp:Wizard ID="Wizard1" runat="server" HeaderText="Sample Wizard" >

                <WizardSteps>

                    <asp:WizardStep runat="server" Title="第一步" StepType="Start">

                        <asp:Label ID="Label1" runat="server" Text="用户名:"></asp:Label>

                        <asp:TextBox ID="tbName" runat="server"></asp:TextBox>

                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbName"

                            ErrorMessage="不能为空!"></asp:RequiredFieldValidator>

                        <br />

                        <asp:Label ID="Label2" runat="server" Text="密码:"></asp:Label>

                        <asp:TextBox ID="tbPwd" runat="server"></asp:TextBox>

                    </asp:WizardStep>

                    <asp:WizardStep runat="server" Title="第二步">

                        <asp:Label ID="Label3" runat="server" Text="Email"></asp:Label>

                        <asp:TextBox ID="tbEmail" runat="server"></asp:TextBox><br />

                        <asp:Label ID="Label4" runat="server" Text="Telephone"></asp:Label>

                        <asp:TextBox ID="tbPhone" runat="server"></asp:TextBox>

                    </asp:WizardStep>

                </WizardSteps>

            </asp:Wizard>

    <asp:wizard>包含<wizardSteps>,<wizardsteps>中只能有<asp:wizardStep>;其中的<asp:wizardstep>可有多个,也就是某个流程的步骤。

  • 相关阅读:
    2018QBXT刷题游记(4)
    洛谷 P4302 字符串折叠 题解
    hdu5009 Paint Pearls 题解
    CF467C George and Job 题解
    洛谷P2622 关灯问题II 题解
    洛谷 P3049园林绿化 题解
    洛谷 P1064 金明的预算方案 题解
    洛谷P1979 华容道 题解
    2018QBXT刷题游记(3)
    2018QBXT刷题游记(2)
  • 原文地址:https://www.cnblogs.com/wenming205/p/1271134.html
Copyright © 2011-2022 走看看