Hi, I am using the Invoke method to add columns from DataTable DT to another DataTable MergedDT.
TargetType: (null)
TargetObject: MergedDT.Columns
MethodName: Add
Parameters:
In, DataColumn, DT.Columns(count)
In the first iteration where the MergedDT is supposed to be blank, I still get error Column already belongs to another DataTable.
I referred to this thread Column 'XXXX' already belongs to another DataTable but it appears I am already doing as the thread suggested.
How do I fix this error? Thanks