I am using .net 2005,Mysql 5.0, Mysql .net connector.
I am saving the word "Test" as rtf in mysql database. The Rtf for this word is
"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}
\viewkind4\uc1\pard\f0\fs17 Test\par
}"
while getting the saved text from database i am getting the text like this.
"{
tf1ansiansicpg1252deff0deflang1033{fonttbl{f0fnilfcharset0 Microsoft Sans Serif;}}
viewkind4uc1pardf0fs17 Testpar
}"
If i asign this rtf to Richtextbox.rtf property, I am getting the exception as
"File Format is not Valid".
DataType of the field i am using is "Longtext"...
If i use other databases like SqlServer2000,MsAccess it working fine.
What is the Solution for my problem?