views:

15

answers:

0

Hi to all,

I want to save the contents a user puts in a richtext box to a database. Currently it is just text with formatting (bold text etc). I know there is a xaml property with all the formatting which I could store, however other users who use the database directly may want to have access to only the text that was input by the user and not all the xaml code.

Is there a way of just storing the text in the database and storing the xaml elsewhere?

Also, in the future the user may embed images and tables, what is the best way to persist this to a database?

JD