本文介绍了如何将值从ck编辑器插入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将ck编辑器中的值插入sql数据库.我该怎么做
I want to insert value from ck editor to sql database. How can i do that
推荐答案
<![CDATA[<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>]]>
In Source,-
<FTB:FreeTextBox ID="txtContent" runat="Server" ToolbarLayout="ParagraphMenu, FontFacesMenu, FontSizesMenu |FontForeColorsMenu, FontForeColorPicker, FontBackColorsMenu |
Bold, Italic, Underline, Strikethrough|
Superscript, Subscript, InsertImageFromGallery, CreateLink, Unlink,
RemoveFormat, JustifyLeft, JustifyRight, JustifyCenter, JustifyFull, BulletedList,
NumberedList, Indent, Outdent| Cut, Copy, Paste, Delete, Undo, Redo, Print, Save,
ieSpellCheck, StyleMenu| SymbolsMenu, InsertHtmlMenu, InsertRule, InsertDate,
InsertTime, WordClean, InsertImage, InsertTable,
InsertTableRowAfter, InsertForm,InsertImageFromGallery" Height="200px"
Width="350px" ImageGalleryUrl="ftb.imagegallery.aspx?rif={0}&cif={0}" />
在此之前,您必须下载FreeTextBox.dll.还有
在后面的代码中,您可以使用txtContent.Text
进行类似于文本框的编码
希望对您有所帮助.
Before that You have to Download FreeTextBox.dll . And
In Code behind you can do coding like textbox using txtContent.Text
Hope this can Help You.
这篇关于如何将值从ck编辑器插入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!