Home | Advertising Info21 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Count the number of values in an array string???
From: Carlos
Date: 11/4/2002 2:36:54 PM
IP: 66.93.130.160



 

I am trying to figure out how to count the number of values in an array string so that I can in turn define and set a session value for each individual value. The string is submitted to an ASP page from a form value with the <Multiple Select> method:

The results are declared as: (2500,2501,2502,2503,2504)
so MultiSelect() = (2500,2501,2502,2503,2504)

I want to find the count and then set each variable to a session variable like:
-------------------------------------------------
Count(MultiSelect()) = 5 'for the five variables in the string
session("MultiSelect1") = 2500 'for the first value in the string
session("MultiSelect2") = 2501 'for the second value in the string
session("MultiSelect3") = 2502 'for the third value in the string
session("MultiSelect4") = 2503 'for the fourth value in the string
session("MultiSelect5") = 2504 'for the fifth value in the string

Follow Up - Re: Count the number of values in an array string??? - jason pinhut 12/25/2002 10:53:30 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com