Building the Web Pages

The next step in the application is to build the Web pages. There are several pages required for this application, but we make the best use of the profile editor by using it for both adding users and editing existing users.

Creating the Login Page

Because the Web pages are interconnected via the security scheme and the users table, it's probably best to start with the login page's code first. The page is named login.aspx, and the front-end code is shown in Listing 15.9.

Listing 15.9. login.aspx—Front-End Code for the Login Page
<%@ Page language="vb" AutoEventWireup="false" Inherits="WS_Ch15.Login" TargetSchema="http

Get Creating and Consuming Web Services in Visual Basic® 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.