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.
Unfortunately, activation email could not send to your email. Please try again.

Insert table

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi

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 02:48 PM

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.

Regards,
Mutheeswaran.




Sample_7621c0b2.zip

Jimmy Escherich
Replied On June 14, 2013 05:15 AM

Thank you very much.  That is perfect :-)

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

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.

Regards,
Mutheeswaran


CONFIRMATION

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.

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.

;