How to resolve this Data type issue?

1 Like

Hi @Mallika ,

Use Dt1 instead of Dt1.Rows


The reason why you get that is because when you use the “For each row” activity, it is looking in the datatable and there is no way to change the type, so DT1.Rows is a collection of rows and not a datatable. Aside from just changing it to DT1, you can also change to a generic “For each” activity and change the ArgumentType to DataRow, then use DT1.Rows.


1 Like