rajesh.forum
Well-known member
- Joined
- Sep 7, 2007
- Messages
- 55
- Programming Experience
- Beginner
Hi all!!
Im using database which is created in "UTF8" encoding format. I need to save the "richtextbox.rtf" in the database and to show as text in datagridview column.Here, from the datarow am converting to .rtf and again assigning the text of richtextbox to the datagridview....But the error rises as
"frile format is not valid".The font set on the grid is "Arial Unicode MS"
rtxtBox.Rtf = dr("answer").ToString.Trim
drAns("Answer") = rtxtBox.Text
drAns("AnswerRTF") = rtxtBox.Rtf
please help with ur idea soon as possible.,
rajesh.
Im using database which is created in "UTF8" encoding format. I need to save the "richtextbox.rtf" in the database and to show as text in datagridview column.Here, from the datarow am converting to .rtf and again assigning the text of richtextbox to the datagridview....But the error rises as
"frile format is not valid".The font set on the grid is "Arial Unicode MS"
rtxtBox.Rtf = dr("answer").ToString.Trim
drAns("Answer") = rtxtBox.Text
drAns("AnswerRTF") = rtxtBox.Rtf
please help with ur idea soon as possible.,
rajesh.