段落写入和从SQL Server检索 [英] Paragraph writing to and retrieving from SQL Server

查看:117
本文介绍了段落写入和从SQL Server检索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何从DB中保存和检索我们输入的数据,因为它是字体,空格和段落? plz任何身体分享如果知道。

How we can save and retrieve data from DB what we have entered as it is with fonts, space and paragraph? plz any body share if aware.

推荐答案

你好,



使用CKEditor [ ^ ]您可以像HTML格式一样保存数据,当您将数据分配给编辑器时,它也会根据您的需要显示html效果。我已经使用过但只是不记得他们的属性来获取和设置html代码效果。所以你必须找到它。
Hello,

Using CKEditor[^] you can save your data as in HTML format and while you assign that data to editor it will also shows that html effect as you required. i have used it but just don't remember their properties to get and set the html code effect.so you have to just find out it .


Hi,

Use "wysiwyg html" any input and store in NVARCHAR column in Database.

it will store data with html tag in database  which will show as you set during storing.


Thanks,


这篇关于段落写入和从SQL Server检索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆