Quantcast
Channel: DataSets
Browsing latest articles
Browse All 55 View Live

Section 9: C# and VB Project: Using our TableAdapters, DataTables and...

In our final Section 9 of this tutorial by Nannette Thacker, we learn how to use our TableAdapters within our code. We also look at how Intellisense makes it easy to set up your TableAdapter code....

View Article



Creating a Custom Membership Provider and Membership User utilizing a DataSet...

In this article series, I provide a small web project in VB and zip file format to demonstrate how to write a Custom Membership Provider, Custom Membership User and Custom Roles using a DataSet and...

View Article

Creating the Project and Folders - Creating a Custom Membership Provider and...

In Step 1 of this series, we learn how to: Create the Project and FoldersTo begin, let's create our project. If you have an existing project created in VB, you can skip this section. Open Visual Web...

View Article

Table Data Structure for this Tutorial - Creating a Custom Membership...

In Step 2 of this series, we learn how to: Create the Table Data Structure for this TutorialSince we are connecting to a legacy system, our table structure does not match the default membership user...

View Article

Creating The DataSet - Creating a Custom Membership Provider and Membership...

In this series, we are now ready to add a new Data Set. In the Solution Explorer, right click the DataSets folder you setup in the App_Folder and select the "DataSet" template item. Give your new...

View Article


Creating the Table Adapter Methods for GetUserByLogin, GetUserByUserName, and...

As we continue this series...Since we are going to implement the ValidateUser, GetUser, and CreateUser methods, we will need queries for each. We will create 3 new queries to add to our adapter for...

View Article

Creating our Custom MembershipProvider Class - Creating a Custom Membership...

We want to now create our Custom Membership Provider class. Right click the ProviderClasses folder that you created in Step 1 and select "Add New Item."  Select the "Class" template, name the new...

View Article

Adding Properties to Our Custom MembershipProvider Class - Creating a Custom...

We now want to setup our properties for our custom SSSMembershipProvider class. In the below block of code, we will define variables to use in pulling the properties as setup within the web.config...

View Article


Creating Our Custom MembershipUser Class - Creating a Custom Membership...

We are now ready to create our custom MembershipUser Class. First create a new class and add it to your ProviderClasses directory. Add "Inherits MembershipUser."ChangePassword in MembershipUser versus...

View Article


Customizing our MembershipProvider Class - Creating a Custom Membership...

In this series, we are now ready to customize our MembershipProvider class. We will use a custom Remember Me log in cookie.  Our ValidateUser, CreateUser, and GetUser methods are written using table...

View Article

Our Custom RoleProvider Class - Creating a Custom Membership Provider and...

We continue our series by displaying our source code for our Custom RoleProvider class.Read the entire article here...

View Article

Our Master Page - Creating a Custom Membership Provider and Membership User...

Continuing our series, we look at our source code for our Master Page.In this section, we demonstrate how to set our UserName property as Bindable so that it can be used in controls. In our Master...

View Article

Cookie Handler class - Creating a Custom Membership Provider and Membership...

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...

View Article


Log In Page - Creating a Custom Membership Provider and Membership User...

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...

View Article

Register Page - Creating a Custom Membership Provider and Membership User...

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...

View Article


Log Out Page - Creating a Custom Membership Provider and Membership User...

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...

View Article

Change Password Page - Creating a Custom Membership Provider and Membership...

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"...

View Article


Administration Page - Creating a Custom Membership Provider and Membership...

To utilize our role provider and how to check roles, we have setup an Admin menu for our Admin user only.In this series we continue to look at a web project where we setup custom providers.Read the...

View Article

Loading a Menu Programmatically based on Roles - Creating a Custom Membership...

As we continue our series, we'll look at programmatically loading a menu control.In this example, we define our menu in the code in front, but do not add any items. All items are added in our...

View Article

Default Page - Creating a Custom Membership Provider and Membership User...

As we wrap up this series, we demonstrate how to add a databound grid control to our default page.Although I wasn't prolific in my explanations, I hope being able to view the code helped you in some...

View Article
Browsing latest articles
Browse All 55 View Live




Latest Images