The Email.aspx Page

When a user clicks the e-mail hyperlink on the product detail page, she is taken to the e-mail page. On this page, the user can enter the e-mail address of the person she wishes to receive the specified product's information. This page also displays a preview of the message that will be sent. Figure 12.1 shows what this page looks like.

Figure 12.1. The Email.aspx page and input form.

The ASP.NET code necessary to make this page work is shown in Listing 12.2.

Listing 12.2. Email.aspx Code
 <table border="0" width="428" cellspacing="0" cellpadding="5"> <tr> <td width="428" valign="top"> <font color="#336699"><B>Email</B> <BR> ...

Get Building e-Commerce Sites with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.