Nav<->OCX->C# Arrays as parameter

vadimironvadimiron Member Posts: 2
Has somebody experience with Arrays as function parameters and return values by implementing some function for Navision with .ocx (through C#)?
How can we transfer data from Navision (2-dimensional Array) to C#? What array type should we use in C# to get this Array (string[,]??). And in which format do we send return array back?

Comments

  • matttraxmatttrax Member Posts: 2,309
    I've never figured out a good way. I created methods in my .NET code to load (pass in the indexes and value as parameters) an ArrayList. Same to get it back out.

    There probably is some better way to do it, I just don't know what it is.
Sign In or Register to comment.