|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Saving Rich Text to a SQL DatabaseHi
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 Show quoteHide quote "Richard Harris" <rich***@richardjharris.plus.com> wrote in message news:eX4nW8SOGHA.2628@TK2MSFTNGP15.phx.gbl... > 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 > > 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.
------ Hit any user to continue. --- Posted via www.DotNetSlackers.com
object reference not set to an instance???
possible to create one control array with different controls? Can you emulate an ActiveX exe in .NET After export to Excel, that excel cannot open Late binding equivalent "The path is not of a legal form" error - WinFoms designer dealing with images of varing sizes on a form. VB 'Phone Home' Field token out of range (System.BadImageFormatException) BindingList: How to implement Find? |
|||||||||||||||||||||||