Array Datarow inside Invoke Method error

Hi,

How to solve this error message.



Hi,

You need to call “AddRow” instead of “Addrow” because it’s case sensitive.

Regards,

Even after changing it, still the issues exists.

Hi,

DataRowColletion class doesn’t have AddRow method and cannot add DataRow array. Perhaps you should use Add method and add a row one by one.

Regards,

You can not use DataTable.Rows.Add(Row) in it.

You can use add method with the array of objects that define the row as parameter
DataTable.Rows.Add({“Column1Value”, “Column2Value”, “Column3Value”})

1 Like

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