0

Well I am stumped. I have a access DB that I need to convert to using C# winforms. Everything was fine until I started working with the Memo fields. Everything is in HTML and the RichTextBox in C# wont accept the data.

How can I maintain the formatting in the access database and also edit and save back to access from c#?

Have been searching Google for the last 5 hours and not really coming up with much. How can I display the memo in C# formatted and then save it back?

nitefrog
  • 1,760
  • 6
  • 31
  • 59

1 Answers1

1

The RichTextBox is a control for editing RTF. So you would have to convert the memo HTML to RTF when loading and from RTF to HTML when saving. Alternatively you could edit the memo field using an WYSIWYG HTML editor control.

Community
  • 1
  • 1
m0sa
  • 10,712
  • 4
  • 44
  • 91