Page 1 of 1

store docx file table data into db

PostPosted: Tue Feb 01, 2011 12:23 am
by raman_jill
i need the total tc content at a time.If tc contains any large data or any empty lines that data placed in different <w:t> elements.how to get that data at a time.my aim is persist the docx file data in db .how to do that.

Re: store docx file table data into db

PostPosted: Tue Feb 01, 2011 10:46 pm
by jason
You'll need to explain a bit more clearly exactly what you want to do.

When you say "tc content", do you mean text content? What if it contains an image or nested table?

If you mean text content, how is this post different to your previous one (which I answered already)?

One approach: Have you considered placing a content control in your tc, and binding that to a Custom XML part? If you did this, and the user were to type into that content control in Word, you could then simply get your data from the Custom XML part.