Home All Groups Group Topic Archive Search About

Save RTF to SQL Server 2000

Author
27 Apr 2006 12:52 PM
Kevin L
I have a RTF control in my application. Is there a way to save formatted
text from this control to SQL Server and retrieve it while preserving the
format of the text?


Thank you

Author
27 Apr 2006 1:18 PM
Peter Proost
save the richtextbox .rtf value and not the .text value, and when you want
to set the value from the db to the richtextbox, just set .rtf value

Hope this helps

Greetz Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

Show quoteHide quote
"Kevin L" <no_spam@not_real_email.com> schreef in bericht
news:#fnNtlfaGHA.1204@TK2MSFTNGP04.phx.gbl...
> I have a RTF control in my application. Is there a way to save formatted
> text from this control to SQL Server and retrieve it while preserving the
> format of the text?
>
>
> Thank you
>
>
>
Author
27 Apr 2006 2:52 PM
Kevin L
Thanks Peter, I didn't see that.





Show quoteHide quote
"Peter Proost" <pproost@nospam.hotmail.com> wrote in message
news:uypMuzfaGHA.4292@TK2MSFTNGP04.phx.gbl...
> save the richtextbox .rtf value and not the .text value, and when you want
> to set the value from the db to the richtextbox, just set .rtf value
>
> Hope this helps
>
> Greetz Peter
>
> --
> Programming today is a race between software engineers striving to build
> bigger and better idiot-proof programs, and the Universe trying to produce
> bigger and better idiots. So far, the Universe is winning. (Rich Cook)
>
> "Kevin L" <no_spam@not_real_email.com> schreef in bericht
> news:#fnNtlfaGHA.1204@TK2MSFTNGP04.phx.gbl...
>> I have a RTF control in my application. Is there a way to save formatted
>> text from this control to SQL Server and retrieve it while preserving the
>> format of the text?
>>
>>
>> Thank you
>>
>>
>>
>
>