Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an Array with a QueryString?
Message
General information
Forum:
Visual Basic
Category:
Internet applications
Miscellaneous
Thread ID:
00182933
Message ID:
00183493
Views:
10
>Can anyone tell me how to pass an array with a querystring? I am trying to get an array from the client to the server and I'm not having much luck. I keep getting a 'Type Mismatch' error.


You can't do that.
You must format the properly the URL:
target.asp?array1=value1&array2=value2&array3=value3

If you use the same name for the variable, in your ASP page tha variable will be an array.
target.asp?array=value1&array=value2&array=value3

Remember the 1024K limit with this method.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform