We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

I would know if it''s possible reading table from a word files.

Thread ID:





68289 Sep 17,2007 01:49 AM UTC Sep 25,2007 10:56 AM UTC WinForms 3
Tags: DocIO
jeonghwan byun
Asked On September 17, 2007 01:49 AM UTC

I would know if it's possible reading table from a word files.

Melba Winshia [Syncfusion]
Replied On September 17, 2007 12:19 PM UTC


Thank you for your interest in Essential DocIO.

Yes. It is possible to read table from a word file by accessing the TablesCollection object through the Section object.


WordDocument document2 = new WordDocument();
// Opening an existing document file.
document2.Open(Path.Combine(Application.StartupPath, "Sample.doc"), FormatType.Doc);

//Get the section object using the Index
WSection section2= document2.Sections[0];
//Get the Table
WTable table1 = (WTable)section2.Body.Tables[0];

//Insert new value in the Table
table1[0, 0].Paragraphs[0].Text=("Modified");
table1[1, 1].Paragraphs[0].Text=("Modified");

Please refer the sample in the below link which illustrates the above.


Please try this and let me know if this helps.


jeonghwan byun
Replied On September 17, 2007 12:25 PM UTC

Thank You Very Much...

Melba Winshia [Syncfusion]
Replied On September 25, 2007 10:56 AM UTC


Thank you for the update.

Please let me know if you have any other questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon