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



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash





Script Output:

All the keys and corresponding items in our dictionary object:

Key	Item
black	#000000
red	#FF0000
yellow	#FFFF00
green	#00FF00
aqua	#00FFFF
blue	#0000FF
fuschia	#FF00FF
white	#FFFFFF

Number of key/item pairs in our dictionary: 8

Does a "blue" key exist: True

Value of the item corresponding to the "blue" key: #0000FF

Changing the value of the "blue" key's item. Its value is now: #000099

Changing the value of the "blue" key to "dark blue".

All the keys and corresponding items in our dictionary object:

KeyItem
black#000000
red#FF0000
yellow#FFFF00
green#00FF00
aqua#00FFFF
dark blue#000099
fuschia#FF00FF
white#FFFFFF

ASP HTML Download            FAQ

ASP.NET Version

This sample examines the functionality made available to developers via the Dictionary object. You can think of the Dictionary as an indexed array. Each piece of data stored in the Dictionary consists of two parts: a key via which the entry is accessed and a corresponding item which stores the data.


Samples

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

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