WPF RichTextBox Formatted Data Sent to Access Database
-
Is their a way to sort of serialize the data of a WPF richtextbox to save the formatting of the text in the control so it can be sent to an Access Database? I am working in the .NET framework 3.0. Any help would be much appreciated :)
Regards, Thomas Stockwell 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. Visit my homepage Oracle Studios[^]
-
Is their a way to sort of serialize the data of a WPF richtextbox to save the formatting of the text in the control so it can be sent to an Access Database? I am working in the .NET framework 3.0. Any help would be much appreciated :)
Regards, Thomas Stockwell 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. Visit my homepage Oracle Studios[^]
You can take the output of the RichTextBox and convert it to an array of bytes and store it in Access. You can Google: .net string to byte array Here is one result: http://www.chilkatsoft.com/faq/DotNetStrToBytes.html[^] Then just write the bytes to a column in Access. Plenty of examples of how to store blogs in Access.
Cheers, Karl
My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your ArticlesJust a grain of sand on the worlds beaches.