Nannette Thacker ShiningStar.net
<a href="http://weblogs.asp.net/nannettethacker/pages/senior-web-application-developer-consultant.aspx">ASP.net Web Application Development</a>
-
Adding Properties to Our Custom MembershipProvider Class - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 6
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 file.
-
Creating our Custom MembershipProvider Class - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 5
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."
-
Creating the Table Adapter Methods for GetUserByLogin, GetUserByUserName, and InsertUser
As we continue this series...
-
Creating The DataSet - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 3
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 dataset a name. In my example, I name it "SSNetDataSet.xsd." Now select "Add."
-
Table Data Structure for this Tutorial - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 2
In Step 2 of this series, we learn how to:
-
Creating the Project and Folders - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 1
In Step 1 of this series, we learn how to:
-
Creating a Custom Membership Provider and Membership User utilizing a DataSet Table Adapter - Introduction
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 Table Adapters.
-
Product Review: List Transfer Control by Fluent
I needed a picklist implementation that involved a Listbox on the left and a Listbox on the right. With buttons in the middle to move items from the left to the right to the left, up and down within the Listbox, etc. I've programmed similar implementations, including my tree select demo. But my client had an existing control from Fluent Consulting.
The control is the List Transfer control. I was amazed at how easily I could implement the code.
In the code in front, simply register the control:
<%@ Register Assembly="Fluent.ListTransfer" Namespace="Fluent" TagPrefix="cc1" %>
<cc1:ListTransfer Runat="server" ID="lstClientTransferCodes" ListControlFrom="lstAvailable" ListControlTo="lstSelected" EnableClientSide="true" />
And in the code behind, simply add "onclick" attributes to the buttons:
ibtnMoveRight.Attributes.Add("onclick", Me.lstClientTransferCodes.ClientMoveSelected)
ibtnRightMoveDown.Attributes.Add("onclick", Me.lstClientTransferCodes.ClientMoveDownListControlTo)
ibtnRightMoveUp.Attributes.Add("onclick", Me.lstClientTransferCodes.ClientMoveUpListControlTo)
ibtnMoveLeft.Attributes.Add("onclick", Me.lstClientTransferCodes.ClientMoveBackSelected)
The rest, setting up the lists, binding the data, etc., didn't need to change at all.
All I had to do was add those 6 lines of code and boom, it was done!
I highly recommend this product!
I used this for client side transfer of data, but it also supports server side. View the demo here!
They describe the ListTransfer as "The ListTransfer control simplifies the transfer of ListItems between two ListControls. With this control you can easily create double listboxes or use several in combination."
I decided to see what other controls they have available, and noticed a Multi-LineTextboxValidator. This was of interest to me since I wrote an article in 2000 on the Javascript Dynamic Text Area Counter which I used extensively on my ASP Classic web sites. However, I'm all for upgrading to a control that can be easily plunked into my ASP.NET pages.
Here are the remainder of their controls: -
Section 9: C# and VB Project: Using our TableAdapters, DataTables and Intellisense
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.
-
Section 8: C# and VB Project: Using an OleDbDataReader to Retrieve Our Data
In Section 8 of this tutorial by Nannette Thacker, we take a look at adding a OleDbDataReader and the ExecuteReader method to retrieve data from an Excel Spreadsheet.