Dictionary Object

Results 1 to 2 of 2

Thread: Dictionary Object

  1. #1
    Join Date
    Dec 1969

    Default Dictionary Object

    Hi all,<BR><BR>I have a variable that contains the output from a &#060;select&#062; w/ multiple so its data looks something like this "xx, xx, xx, xx"<BR><BR>Is there an easy way to stuff the values into a dictionary object or array? I wish to be able to perform an action based upon each individual item. I thought of parsing the string around the commas but this seemed to lack elegence.<BR>Any ideas?<BR>Thanks<BR>Brian

  2. #2
    Join Date
    Dec 1969

    Default Count property of Request.Form

    Use the count property of response object like so:<BR><BR>for i=1 to Request.Form("SelectName").Count<BR><BR> Response.Write(Request.Form("SelectName")(i) & "<BR>")<BR><BR>next <BR><BR>I would skip the dictionary altogether. As this will let you perform an action on each item selected

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts