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

Please visit our partners


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





Sample HTML Code generated by the ASP:
<p>All the keys and corresponding items in our dictionary object:</p>
<pre>
<strong>Key	Item</strong>
black	<span style="background-color: #000000">#000000</span>
red	<span style="background-color: #FF0000">#FF0000</span>
yellow	<span style="background-color: #FFFF00">#FFFF00</span>
green	<span style="background-color: #00FF00">#00FF00</span>
aqua	<span style="background-color: #00FFFF">#00FFFF</span>
blue	<span style="background-color: #0000FF">#0000FF</span>
fuschia	<span style="background-color: #FF00FF">#FF00FF</span>
white	<span style="background-color: #FFFFFF">#FFFFFF</span>
</pre>
<p>Number of key/item pairs in our dictionary: 8</p>
<p>Does a "blue" key exist: True</p>
<p>Value of the item corresponding to the "blue" key: #0000FF</p>
<p>Changing the value of the "blue" key's item.  Its value is now: #000099</p>
<p>Changing the value of the "blue" key to "dark blue".</p>
<p>All the keys and corresponding items in our dictionary object:</p>
<table border="1">
<tr><th>Key</th><th>Item</th></tr>
<tr><td>black</td><td bgcolor="#000000">#000000</td></tr>
<tr><td>red</td><td bgcolor="#FF0000">#FF0000</td></tr>
<tr><td>yellow</td><td bgcolor="#FFFF00">#FFFF00</td></tr>
<tr><td>green</td><td bgcolor="#00FF00">#00FF00</td></tr>
<tr><td>aqua</td><td bgcolor="#00FFFF">#00FFFF</td></tr>
<tr><td>dark blue</td><td bgcolor="#000099">#000099</td></tr>
<tr><td>fuschia</td><td bgcolor="#FF00FF">#FF00FF</td></tr>
<tr><td>white</td><td bgcolor="#FFFFFF">#FFFFFF</td></tr>
</table>


Output

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