Due to historic reasons, I have a classic ASP application that calls a DLL written in VB.NET. The function in the DLL populates a two dimensional array with the contents of a SQL Server table (using ADO.NET). This array is then passed back to the ASP application to be displayed to the user.

The problem I am experiencing is when I attempt to reference the array in the ASP application a Type Mismatch error occurs. I cant seem to find a way around this problem. any ideas?

thanks in advance.
Stuart