Hello. I am searching for a sample VB.NET code on how to save a RichTextEdit control to an MSSQL database nvarbinary(MAX) field. I'm trying to use the control's .RtfText but I get a "…string cannot be converted to 1 dimentional array of byte" error.
I would appreciate getting a sample line of code for the saving part.