获取没有HTML代码的编辑器文本

时间:2013-08-28 20:52:57

标签: asp.net ckeditor

我在项目中使用了CKeditor。我想将CKeditor文本中写入的数据记录到数据库中。当我用来从CKeditor获取内容时,我使用CKEditor1.Text,但问题是当我记录数据时,它与HTML代码一起记录。例如,我已经在Ckeditor Computer Programing中写了,我选择了这个写为粗体的写入,它将对数据库的写入记录为<b>Computer Programing</b>。我想将数据库记录为Computer Programing,我想在数据列表中以Computer Programing显示为粗体。

0 个答案:

没有答案