Contents tagged with DataSets
-
Default Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 18
As we wrap up this series, we demonstrate how to add a databound grid control to our default page.
-
Loading a Menu Programmatically based on Roles - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 17
As we continue our series, we'll look at programmatically loading a menu control.
-
Administration Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 16
To utilize our role provider and how to check roles, we have setup an Admin menu for our Admin user only.
-
Change Password Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 15
On our Change Password page, you'll notice how our change password control is wired up to use our custom membership provider:
<asp:ChangePassword ID="ChangePassword1" runat="server" SkinID="SSSCPskin1" MembershipProvider="Shiningstar.SSSMembershipProvider" -
Log Out Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 14
When the user clicks to Log Out, we'll call our own custom functions to kill the cookies, possibly make database changes, and return them to the Log In page.
The built-in Log Out functionality is overridden in this example so that we can have more control over our cookies and what events actually take place. -
Register Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 13
On our Registration page, we'll look at a few Regular Expressions. We'll use client side validation using the RequiredFieldValidator and also the RegularExpressionValidator. On server side, we'll again check our validations using our FormUtility class and some Regex regular expressions defined there.
-
Log In Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 12
On our Log In Page, we use a custom Remember Me checkbox instead of the checkbox included with the log in control. This way we can remove our log in cookie ourselves and do any database changes needed to log the user out.
-
Cookie Handler class - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 11
When we log in to the site, we optionally set a Remember Me cookie. This cookie is checked each time the Master Page is loaded, so that if the user is not logged in, they are auto-logged into the web site. Below are our cookie handling classes:
Our AppCookie.vb class is a generic handler for all cookies. Our SSSCookie.vb class is specifically for the current application. -
Our Master Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 10
Continuing our series, we look at our source code for our Master Page.
-
Our Custom RoleProvider Class - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 9
We continue our series by displaying our source code for our Custom RoleProvider class.