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

Find and replace problem of table contents in Essential DocIO

Thread ID:





77495 Nov 4,2008 06:51 AM UTC Nov 5,2008 10:57 AM UTC WinForms 3
Tags: DocIO
Rambabu Pusala
Asked On November 4, 2008 06:51 AM UTC

Hi All,

I am using Essential DocIO for existing word document editing. The existing document contains one table need to find the string and replace with some other string.
Please guide the code lines for this.

Thanks in advance,

Administrator [Syncfusion]
Replied On November 4, 2008 03:22 PM UTC

Hi RamBabu,

In 4.4 version, you can find and replace text as follows:
docSource1.Replace("Text To be replaced","New Text",true,true);

This will replace the text found anywhere in the document.

You can also find and replace using Bookmark names.

Bookmark replacement and Find and replace samples can be found at following location:

C:\Program Files\Syncfusion\Essential Studio\\Windows\DocIO.Windows\Samples\

Also, we improved DocIO find and replace technique in our latest version allowing more flexibility. Can you please consider upgrading?

Please take a look into it and let me know if you have any questions.

Rambabu Pusala
Replied On November 5, 2008 04:47 AM UTC

Hi Dhivya,

Thanks for the replay, Present I am using the Replace function. But in the document we have two sentences with same formate and same words like "Fax Number :". So, I need to find first one in the table and replace with "Fax Number : 123-456-7891".
My intension is go to particular cell and try to replace the sting. So please help for this.


Geetha M [Syncfusion]
Replied On November 5, 2008 10:57 AM UTC

Hi Rambabu,

With ES version, you can make use of Bookmark to replace one of the texts. Please go through the sample in the below location:

C:\Program Files\Syncfusion\Essential Studio\\Windows\DocIO.Windows\Samples\2.0\Interactive Feature\Bookmark_Navigation\

Kindly 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

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