Summary

In this hour we looked at two ways to enhance the online guestbook application. The first added feature was in the ViewGuestbook.aspx Web page. In the display of the existing guestbook entries, we changed the DataGrid's Email column from a Bound Column to a HyperLink Column. The HyperLink Column displayed the e-mail address associated with each guestbook entry as mailto hyperlinks.

The second enhancement was added to the AddEntry.aspx Web page. Here we had an e-mail automatically sent to us whenever a new guestbook entry was added. As we saw in the “Using the Send Email Code Builder” section, the source code needed to send an e-mail from an ASP.NET Web page can be easily added by using the Send Email Code Builder.

With the Send Email ...

Get SAMS Teach Yourself ASP.NET in 24 Hours 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.