记录.net

记录.net

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
1.将FCKeditor添加到项目中;
2.在引用中添加引用fredck.fckeditorv2.dll;
3.在项目中新建一个文件夹UserFiles,用来保存图片,flash,...;
4.在.aspx页面中添加如下代码:
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<div>
  <FCKeditorV2:FCKeditor ID="txtContent" runat="server" BasePath="../FCKeditor/" Height="400px">
  </FCKeditorV2:FCKeditor>
</div>;

5.FCKeditor就可以使用了,可以相应在FCKeditor周围添加一些控件;
6.SQL数据库字段txtContent使用text.
posted on 2009-06-01 09:52  橙色大地  阅读(2324)  评论(1编辑  收藏  举报