viestate of arrays

G

Giuseppe Dini

I have the need to save in the viestate("") two arrays, one integer, the
other string.
How can I do?
And what if I want to declare the array to pick up without knowing its
dimension?
Thank you.
 
M

Mr Newbie

Dim sArray() as String
Dim iArray() as Integer

Viewstate("sArray") = aArray
Viewstate("iArray") = iArray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Working with repeaters without Viewstate 2
Determine size of the data passed from server to client 2
Array 1
Array Dimension 1
Array of structure 1
Array Dim 6
VB.net array question 2
vba array logic 3

Top