()将下列代码添加到Step (Payment)的向导步骤
<asp:DropDownList id=lstCardType runat=server>
<asp:ListItem>MasterCard</asp:ListItem>
<asp:ListItem>Visa</asp:ListItem>
</asp:DropDownList>
<br />
Card Number: <asp:Textbox id=txtNumber runat=server Text= ReadOnly=True/>
<br />
Expires:
<asp:textbox id=txtExpiresMonth runat=server columns= />
/
<asp:textbox id=
txtExpiresYear
runat=
server
columns=
/>
()返回到Step (确认)的Design View输入如下代码
Please confirm you wish to have
deducted from your credit card
()选择WroxShoppingCartascx将其拖放到已经创建的文本上的Wizard控件中
()单击Complete按钮在Step (Complete)的Design View中只输入Thank you for your order
()转到Source View在<asp:Wizard>控件上添加如下代码
<asp:Label id=NoCartlabel runat=server visible=false>
There are no items in your cart Visit the shop to buy items
</asp:Label>
<div style=float:right>
<asp:LoginView ID=LoginView Runat=server>
<AnonymousTemplate>
<asp:passwordrecovery id=PasswordRecovery runat=server />
</AnonymousTemplate>
</asp:LoginView>
</div>
[] [] [] [] [] [] [] []