Let's say that I have a WPF form that contains a RichTextBox control and a button.
I want to type some text at theÃÂ RichTextBox control and copy\pasteÃÂ images into it.
Pressing on the button should store the content of theÃÂ RichTextBox control in a SQL-Server-basedÃÂ table.
Later I'll want to do the opposite - pull the same data stored in the database and present it at the WPF form.
How to do that? What type should be the database cell? "nvarchar(max)"? "image"? People I talked with mentioned "Serialization", and "Saving the content as XPS" but I don't really know where to begin. Any suggestions\ideas will be appreciated.
View Complete Post