Saving Rich Text to Database

  • Thread starter Thread starter Abhi
  • Start date Start date
A

Abhi

How do i save text in a RichTextBox Control to a SQL
server Database and retrive it back without losing its
formatting.
 
Save 'RichTextBox.Rtf ' into the DB and when retrieving, set the Rtf
property of the RTB.

Thanks,
VijayaKrishna P.
 
* "Abhi said:
How do i save text in a RichTextBox Control to a SQL
server Database and retrive it back without losing its
formatting.

Save the contents of the control's 'Rtf' property. This property will
contain the RTF code representing the document displayed in the control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top