Accessing User Information via the Users.aspx Page

Administrators of MyGolfGear.NET can navigate to the Users.aspx page to perform user management. The ASP.NET page allows administrators to view a list of all users, enter new users into the system, modify existing users' information, and delete existing users from the MyGolfGear database. This page uses the Users code behind class, discussed in the preceding section, to “wire up” the events needed by this page to handle the needed actions. The code for this page is shown in Listing 18.14.

Listing 18.14. The Users.aspx Page
<%@ Page language="c#" Codebehind="Users.aspx.cs" AutoEventWireup="false"
 Inherits="MyGolfGear.Admin.Users" %> <%@ Register TagPrefix="MyGolfGear" TagName="LeftNav" Src="../UserControls ...

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.