Passing 2-D Array from one function to another

  • Thread starter Thread starter hotpars
  • Start date Start date
H

hotpars

Hello,

I am getting info. from database and storing into 2-D array.

And another function getting this array and do process.

But problem I am getting is.

1. How can I return 2-D array from first function.
2. How can I pass 2-D array from first function to second function.
3. How can I get 2-D array to second function via parameter.

And I have this 2 function in different ".vb" class.

Please let me know your suggections.

Thank you very much in advance.

Regards,
Hotpars
 
Hello (e-mail address removed),

DONT USE ARRAYS FOR DATABASE WORK. You get the data back in a datatable..
just pass that around.

-Boo
 
Back
Top