<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>可有多个,也就是某个流程的步骤。