-
I want to create variable in asp like
A200=x A201=y A202=z..... continue
then if I try this
Response.write A200
It will show x in browser. But if I want to do this
B=200
and I try this
Response.writ A&B (I mean I want the same result as Response.Write A200) it show error.
But If I use Array by
A(200)=x A(201)=y A(202)=z.....continue
I can use A(B). But I don't want to do that because if I want only A200-A202 I must use 202 variable in my server mem by .
Dim A(202)
How I combin A&B (A200) by not use Array , Session or cookies?
-
Code:
B = 200
Response.Write Session("A" & B)
I think that should do the trick.
-
what's wrong with arrays?
they are amazingly powerful once you get used to them (that does take some time and energy I do agree)
-
I agree with you Ines. But I have problem when my data increase about 100,000. I must create a(100000)array but sometime I want to use only a(99999) , and a(99998) . If I create array like that it lost memory.