ASP 101 - Active Server Pages 101 - Web03
The Place ASP Developers Go!

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

ASP.NET version of "Customization"

Here's an ASP.NET version of our classic "Customization" script. It's basically a little more advanced version of our Colors sample.

To start with, I'm using some ASP.NET HTML Controls in this sample. I usually use the ASP.NET Web Controls, but since the controls don't do all that much (they basically just need to maintain their state) I decided to go this route this time to give you some exposure to alternate ways of doing things. The sample also does some cookie work for which I use a cookie with sub-keys instead of 5 separate cookies. The code's not all different, but it's there for you to take a look at if you want. Finally, you'll also notice that I've wrapped something I do 3 times into its own Sub. I couldn't come up with a good short name for it, although in all honesty I didn't really try that hard, so it's called FormatTextBasedOnFormValues.

Here's a zip file of the code (1.2 KB).

Play with the running version.

View the live source code.

Back to the "Customization" sample


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers