I have a 2-D array in classic asp, my aim is to find 1st element in that array and save it in a variable. after that remaining elements(except the first element) are saved in s
I think I've answered your question. The code below might help you.
dim aryReturn(5,0)
aryReturn(0,0) = 1001
aryReturn(1,0) = 1002
aryReturn(2,0) = 1003
aryReturn(3,0) = 1004
aryReturn(4,0) = 1005
aryReturn(5,0) = 1006
var1=aryReturn(0,0)
for i=0 to ubound(aryReturn)-1
aryReturn(i,0)=aryReturn(i+1,0)
response.Write(aryReturn(i,0)&"
")
next