How do I add data to a data table with different data types?

I got a data table with 2 columns. First column contains integer. Second column contains string. Now I use add data row activity. I enter {1,“xyz”} als ArrayRow. Why doesn’t that work?


Error ERROR Validation Error Compiler error(s) encountered processing expression “{1,“xyz”}”.(2) : error BC36915: Cannot infer an element type because more than one type is possible. Specifying the type of the array might correct this error. Sequence.xaml

That’s the error I get…

give a try at
new Object(){1,"xyz"}

Thanks! :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.