I’ve attached my working solution. However, I want to apply another loop to avoid a hardcoded index. However, I am unable to find the correct syntax for that. I tried a couple of options mentioned in different threads, but none of them worked for me.
I want another inner loop on the Values array. Right now, it is accessed by
<<foreach [item in ProductDataTags[0].Values]>>
VSDWithAspose.docx (16.6 KB)
This is my C# Code.
CSharpAspose.zip (658 Bytes)
The last column’s value will be accessed from the outer foreach loop, and the first two columns’ values will be fetched from the inner loop.