Question

DLL and Data Tables

  • 16 April 2024
  • 0 replies
  • 107 views

Badge +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!

Reply