How To Dynamically Create Array ListsNov 15, 2010
I have to retrieve same amount of datas from a variable number of clients in an arraylist. I know I can put arraylists in arraylists but would be easier to get one arraylist for each client dynamically declared.
Ex: alClients (XXX, YYY, ZZZ)
for i as integer = 0 to clientsNumber -1
Dim nameVariable = "al"+ alClients(i) ' = alXXX
Dim nameVariable as New arraylist()
But it seems not to be possible to do that so is there a way to do it? By surcharging constructor of the Class New ArrayList(), ok but how??