Hi babonik,
1) Capture the generated HTML code so that it can saved on the DB.
You can get the html content by property "Text" of editor at server side c# code, like editor1.Text
2) Pass the HTML code from the DB and have it render in the editor in the proper format.
You can set the html content for the editor by property "Text", like editor1.Text = "my content";
Regards,
Ken