Can someone help me to solve this I tried to current row from a foreach loop to a data table, and it showed this error?
a few details we cannot derive from screenshot
- is DTMINOR correct initilaized, by CloneSourceDT.Clone, Build Data Table…
we assume that a datarow from another is to add to DTMINOR
- in such case ArrayRow and CurrentRow.ItemArray is to use instead of the datarow field
Hey @sarath_babu,
Did you defined the structure of the DTMINOR, if not kindly define the structure using the below methods.
A. BuildDatatable
B. Clone Datatable
Thanks,
Sanjit
Thank you. It worked !!!
Perfect. So may we ask you to close the topic? Thanks
