J
janetb
I have the value of checkboxes coming into an asp page. All checkboxes have
the same name and the same number of values: e.g.
jid(1) = 1,4,38
jid(2) = 18,233,0
etc.
How do I put the above into multidimensional array that I can loop through
and call a stored procedure for populating a table?
dim ar(3)
y=0
for x=1 to request("jid").count
ar(y) = request("jid")(x)
y=y+1
next
for x=0 to Ubound(ar,2)
response.write ar(0,x) & "=" & ar(1,x) & "=" & ar(2,x) & "<br>"
next
Thanks a bunch.
the same name and the same number of values: e.g.
jid(1) = 1,4,38
jid(2) = 18,233,0
etc.
How do I put the above into multidimensional array that I can loop through
and call a stored procedure for populating a table?
dim ar(3)
y=0
for x=1 to request("jid").count
ar(y) = request("jid")(x)
y=y+1
next
for x=0 to Ubound(ar,2)
response.write ar(0,x) & "=" & ar(1,x) & "=" & ar(2,x) & "<br>"
next
Thanks a bunch.