Skip to main content
Question

DLL and Data Tables

  • April 16, 2024
  • 0 replies
  • 155 views

Forum|alt.badge.img+1

Hi all. I’ve hit a bit of a problem with Data Tables and DLLs.

I’ve been playing around with DLLs in Automation Anywhere and so far, so good. However, I keep hitting a snag when trying to return a Data Table from a DLL. Here is my DLL code

 

    public class Class1
    {
        public string[,] CreateDataTable()
        {
            string[,] returnTable = new string[2, 2] { { "Hello", "World" }, { "Test", "Table" } };
            return returnTable;
        }
    }

When Automation Anywhere calls the DLL, I get a Table back with 2 rows but no data in the columns.



 


The table variable in AA acknowledges there are 2 rows. But no data in the columns.

Any help or assistance would be greatly appreciated.​​​​​​

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings