Self Instruction

Based on the information covered in this chapter, add the ability to disable user accounts. Modify the User table by adding an additional boolean field called active. Modify the Users.aspx page and supporting classes as well. You will also need to modify Users.xsd and regenerate the UsersDS class using xsd.exe.

After reading this chapter, you should recognize that MyGolfGear.NET supports two types of users: Normal and Admin. The current implementation requires a developer to manually enter a row in the UserType table when a new user type is desired. Create another administrative screen that allows administrators to add new user types to the UserType table. At a minimum, you need to create the following:

  • A UserType.aspx page

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.