Free Support Forum -

Not able to fetch serial number from a table


while iterating data from a table of a document, auto generated serial number is not being recognized.
How can I get serial number as a text?



Please ZIP and upload your input document (you are getting this problem with) here for testing. We will then investigate the issue on our end and provide you more information.


Here is the attached document. (12.2 KB)



Please try using the following code:

Document doc = new Document("E:\\TestDocument\\New DOCX Document.docx");
Table tab = (Table)doc.GetChildNodes(NodeType.Table, true)[0];
foreach(Row row in tab.Rows)

Hope, this helps.


It worked. Thank you very much @awais.hafeez.:slightly_smiling_face: