输入.aspx页面内
<textarea name="content1" id="content1" style="DISPLAY:none" rows="1" cols="20" runat="server"></textarea>
<iframe id="eWebEditor1" src="../eWebEditor/ewebeditor.htm?id=content1&style=mini"
frameBorder="0"width="480" scrolling="no" height="350"></iframe>
输入.aspx.cs页面内
//取用户输入的文本内容
string tempcontent = content1.Value.Trim();
//为了读文章时显示html效果,特做如下转换,如果是<时,则显示<,而没有效果
tempcontent = tempcontent.Replace("<","<");
tempcontent = tempcontent.Replace(">",">");
显示.aspx页面
<%#icontent%>
显示.aspx.cs页面
protected string icontent = "";
icontent = r1["icontent"].ToString();