How do i save text in a RichTextBox Control to a SQL
server Database and retrive it back without losing its
formatting.

Re: Saving Rich Text to Database by Vijayakrishna

Vijayakrishna
Tue Jan 06 05:38:13 CST 2004

Save 'RichTextBox.Rtf ' into the DB and when retrieving, set the Rtf
property of the RTB.

Thanks,
VijayaKrishna P.

"Abhi" <Abhijeet_dac@hotmail.com> wrote in message
news:0a3e01c3d448$2b66ff50$a101280a@phx.gbl...
> How do i save text in a RichTextBox Control to a SQL
> server Database and retrive it back without losing its
> formatting.



Re: Saving Rich Text to Database by hirf-spam-me-here

hirf-spam-me-here
Tue Jan 06 07:38:15 CST 2004

* "Abhi" <Abhijeet_dac@hotmail.com> scripsit:
> 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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>