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 "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


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