MikeVE
asked on
RichTextBox bound to string field in dataset shows the RTF codes
I have an ap in VS 2005. A form is bound to a dataset. A RichTextBox is bound to a string field which contains RTF Text. Most of the data was entered in a similar program witten in VB6. Now all the RTF codes are visible in the text box - it seems to be showing them as plain text without interpreting them. If I enter new data in an empty record it works fine - the text is visible without the RTF codes. It worked OK in VS2003 once I bound the data to the correct property of the RichTextBox but VS2005 does not seem to let you do that.
How doI get the formatted text to appear correctly?
How doI get the formatted text to appear correctly?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That did the trick. I checked the names of the two RichTextBoxes concerned and searched the Designer.vb file for the relevant Databinding line, copied them to the ordinary file and there changed the "Text" parameter to "RTF".