Free Support Forum -

How to identify existing tables


I have a template that has so many tables in it. I want to Identify the tables one by one and replace with new tables.

Here I don't know how to identify already existing tables.

Will some one help in this. Its real urgent...!!!



That's how you can get the collection of all tables in the document:

NodeCollection tables = doc.GetChildNodes(NodeType.Table, true);

Thanks a lot. This helps me a lot…!!!