S
Sam
Hello.
I need to save the rtf property to an image field in SQL Server. I'm
currently saving it, but I can't figure out how to then retrieve it
and display it into the rtf. I have to have Option Strict On. I've
tried all sorts of stuff, and can't seem to get it.
Here's how I save to image field.
****************************
Dim ByteArray() As Byte
ByteArray = System.Text.Encoding.UTF8.GetBytes(rtfBox.Rtf)
.Rows(0).Item(RTF_FIELD) = ByteArray
'Then save to database using Adapter.
****************************
Is this right? If so, how do I then go about doing the reverse?
Thanks...
I need to save the rtf property to an image field in SQL Server. I'm
currently saving it, but I can't figure out how to then retrieve it
and display it into the rtf. I have to have Option Strict On. I've
tried all sorts of stuff, and can't seem to get it.
Here's how I save to image field.
****************************
Dim ByteArray() As Byte
ByteArray = System.Text.Encoding.UTF8.GetBytes(rtfBox.Rtf)
.Rows(0).Item(RTF_FIELD) = ByteArray
'Then save to database using Adapter.
****************************
Is this right? If so, how do I then go about doing the reverse?
Thanks...