Saving Rich Text to a SQL Database

  • Thread starter Thread starter Richard Harris
  • Start date Start date
R

Richard Harris

Hi

I am trying to save data from a Windows Forms RichTextBox control to a SQL
2000 Server database using ado.net and then retreive it again.

I have searched all over the internet on the best way to do this and can't
find anything. Has anyone got any good code examples on how this can be
done?

Thanks
Richard
 
You can use the rtf property of the control and save it as text
Let me know if you need more help.

hth,
Samuel Shulman
 
I had the same problem, if your rtf has images and stuff then u must use a file , you will find informacion in codeguru, but if its only text you must send the rtf text on a parameter to a command, its works, i am the living proof.
 
Back
Top