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 stringt,] CreateDataTable()
{
stringt,] returnTable = new stringt2, 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.