SpiceLogic .NET Win HTML Editor Control
Online Documentation.

Skip Navigation Links.

DataBinding

Although this topic is not something special for experienced users, yet we thought novice users can be benefited from this section. NET Win HTML Editor Control is especially optimized for data binding applications where you can bind the property "BodyHtml" or "DocumentHtml" with any string type member of any dataset. It is very convenient to display database stored html using this control either ReadOnly mode turned on or off. For example, you can allow your user to edit Html and save the Html in your dataset without writing any lines of code. If you just want to display the html from dataset without allowing your user to edit, just set the property "ReadOnly = True".

Here is the step by step procedure

Let there be a data binding source called studentDatabindingSource. And let this datasource got a string type column named "History". We will bind the History field of the data source with the BodyHtml property. Here we used a gridview control to display the Data.

 

 

Select properties of the HTML editor and expand DataBindings

 

 

Select BodyHtml and select the data binding source and select History.

 

 

Now Run the program. Here you see there are some previously saved BodyHTML string in the History Field of the data source. And when you select them they are displayed in the editor.

 

 

So You can use any string type data field in a database to work with the editor. This will save you a lot of efforts. The setup package of the downloaded trial version will install the sample project which demonstrates this usage.