I am here http://www2.zzu.edu.cn/pb/W/FTB/ download FreetextBox 1.6.3 Chinese version [307kb] freetextbox 1.6.3 Chinese version of the source code [420KB]
1. First add freetextbox.dll to the project 2. Put the - ftb.colorpicker.aspx - ftb.imagegallery.aspx - ftb.inserttable.aspx from the folder helperscripts, put it outside and - test.aspx (test) The same class directory, (not doing, insert background color, picture, table is not good)
3. Place the images folder into the Test.aspx (Test) to store the uploaded picture.
4. In Test.aspx, add the path of the picture
This.fretextBox1.text This is the content of the text you entered in the ftb, this is the HTML tag.
This.fretextBox1.htmlstrippedText This is the text that removes HTML tagged
5. Write the database on 9CBS to see how to write FretextBox content in the database. I have done all the generated HTML code into a field of the database into a field of newspapers (self increase) content addtime (getdate) private void Page_Load (object sender, System.EventArgs e) {// Put user code to initialize the page here if (IsPostBack) {SqlConnection myConn = new SqlConnection ( "server = (local!); database = mm; uid = sa; pwd = 123 "); sqlcommand mycmd = new sqlcommand (" Select * from test where id = 2 ", myconn); myconn.open (); SqlDataReader mydr; mydr = mycmd.executeReader (); Mydr.read (); response.write (MyDR ["Content"]. Tostring ()); mydr.close (); myconn.close ();}} private void button1_click (Object sender, system.eventargs e) {SQLConnection MyConn = New SqlConnection ("Server = (local); database = mm; uid = sa; pwd = 123"); sqlcommand mycmd = new SQLCOMMAND ("INSERT INTO TEST (Content) Values ('" freetextbox1.text ") ", myconn); myconn.open (); mycmd.executenonquery (); myconn.close ();} [Note] Web.config Add: