Return an arraylist
Folks,
Quick question which there is probably a really easy answer to - how do you return an array list from a function.
I create an array list and then populate it and want to return it
Dim arTempResults As New ArrayList
...
...
...
...
return arTempResults
But I get this error: Value of type 'System.Collections.ArrayList' cannot be converted to '1-dimensional array of System.Collections.ArrayList'.
Any ideas round this?
Cheers
Morris
|