emma,
There is nothing special about saving data to the database on our CuteEditor control than a regualr textbox.
In your codebehind or server side code, just retrieve your data from cuteeditor1.text property and add the data to your event handler on this Page is used to save/ the text changes to the database.
Below is an example:
//****************************************************************
//
// The UpdateBtn_Click event handler on this Page is used to save
// the text changes to the database.
//
//****************************************************************
private void UpdateBtn_Click(Object sender, EventArgs e) {
// Create an instance of the HtmlTextDB component
Portal.HtmlTextDB text = new Portal.HtmlTextDB();
// Update the text within the HtmlText table
text.UpdateHtmlText(moduleId, Server.HtmlEncode(Editor1.Text));
} |
Hope it helps.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx