ASP 101 - Active Server Pages 101 - Web03
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





ASP.NET version of "Min / Max"


Here's a version of our Min / Max script implemented in ASP.NET. The actual finding of the minimum and maximum is a lot simpler then the classic ASP version thanks to .NET's built array sorting. That said I spend more time setting up the array because .NET is more picky about type conversion from strings to integers then classic ASP.

Anyway, give the code a look. It's not that complex, but it's a good sample of working with arrays and if you need to find a max or min then this is the sample for you.

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

Play with the running version.


Back to the "Min / Max" sample


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