Skip to main content
Cadet | Tier 2
February 27, 2025
Solved

Returning DataTable from DLL

  • February 27, 2025
  • 2 replies
  • 125 views

I am calling a DLL package written in C#, the return of this method is a DataTable. When i run the DLL configured output variable as table. it is throwing an exception. 

What is the best way to return a datatable.

 

Thanks,

Sarath.

2 replies

Marc Mueller
Most Valuable Pathfinder
Most Valuable Pathfinder
February 27, 2025
🤝Let's connect on LinkedIn: https://www.linkedin.com/in/developer-marc-mueller >>>>>>>> 📺Check out my YouTube channel - https://youtube.com/@AutomationDevelopmentEasy
Cadet | Tier 2
February 27, 2025

yes, i checked it. DataTable will be returned in a string array. What i did is returned a dictionary with a json string. datatable converted to json.

Thanks,

Sarath.