Why my for each row don't want to loop last item?

I have list of datatable and want to process each datatable:

but what’s with this issue?
2

Hi! can you check if that datatable present in your datatable list or not?

Regards,
NaNi

it’s present in 1st write line (see photo 1)

I think there might be a space before or after the table name use trim to remove the whitespaces.

Regards,
NaNi

Hi,

There might be no datarow in the datatable (dtRow9).
Can you check table1.Rows.Count before ForEachRow?

Regards,

good idea, let me testing it

naruhoto, now i can continue my struggling to the next step, thank you.
3

1 Like