In UiPath Studio, with framework “Windows” or “Cross-platform”, adding a row in Data table with “Add Data Row” activity using an array gives error :
error BC36915: Cannot infer an element type because more than one type is possible. Specifying the type of the array might correct this error.
How to deal with this error ? It doesn’t affect “Windows - Legacy”
Hello, you can create a new datatow with “NewRow” and assign values to it. Finally add this row to the DataTable:
Can you try as the following?
This works in VB - Windows (net5).
Thanks you very much, guies !
Both solutions worked !
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.