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

Insert table

Thread ID:





109023 May 27,2013 07:52 AM UTC Jun 18,2013 08:47 AM UTC ASP.NET Web Forms (Classic) 3
Tags: DocIO
Jimmy Escherich
Asked On May 27, 2013 07:52 AM UTC


I have a worddocument, where I have a $table$, and I would like to insert a table at exact that place in my word doc. 

I have tried with 
dim tableout as string = "<table><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></table>"
wordDoc.Replace("$table$", tableout, True, True)

But i then insert the HTML instead of the table. Is there a way to insert a table?

Best regards

Mutheeswaran T [Syncfusion]
Replied On June 3, 2013 06:48 PM UTC

Hi Jimmy,

Thank you for using Syncfusion products.

We have prepared a sample illustrate your requirement to replace html string using DocIO. Please do find the sample from the attachment.

Please let us know if you have any other questions.



Jimmy Escherich
Replied On June 14, 2013 09:15 AM UTC

Thank you very much.  That is perfect :-)

Mutheeswaran T [Syncfusion]
Replied On June 18, 2013 08:47 AM UTC

Hi Jimmy,

Thank you for your update.

We are glad that the given solution helps. Please let us 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

This page will automatically be redirected to the 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