Hi All,
I have .docx files which I am manipulatig using wordprocessing document.
I have a table in the file. I want to hide some rows in that table using word processing .
Is there any way to do that ?
Please help me. It is very urgent.
Thanks,
Dipu
Word Processing XML
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 17, 2011, 9:54 PM EDT
Using Micrpsoft.office.interop.word;
John Glenn26 reputationPosted Mar 7, 2012, 11:38 PM EST
do you want to hide a row or delete a table row?
If you want to delete a table row, you can do it easily with this C# / VB.NET Word component.
Here is a sample C# DOCX code how to do it:
ComponentInfo.SetLicense("FREE-LIMITED-KEY");
// Load a document from the file.
var document = DocumentModel.Load("DocumentWithTable.docx", LoadOptions.DocxDefault);
// Get a first table in the document.
var table = document.GetChildElements(true, ElementType.Table).Cast<Table>().FirstOrDefault();
// Remove the first row from the table.
table.Rows.RemoveAt(0);