在我的应用程序中,我有应用程序的术语。在我用html把它放在前端之前。
但现在我需要把这个文本放在数据库的appterms列的app表中。
我在stackoverflow中引用了this链接,然后如下所示:

UPDATE [AppsDatabase].[dbo].[App]
SET AppTerms = 'This App has no minimum term.' + CHAR(13) +
'This App is built and is supported through the standard way of using the company online support.' + CHAR(13) +
'Incorrectly formatted data will not be formatted but may be charged for.'
 WHERE AppID = 8
 GO

但我不能在这里断线。还有谁能告诉我如何在每一行中加上点?

最佳答案

如果显示的是html,则需要存储</br>而不是char(13)。
以HTML格式显示此文本将得到正确的显示。此外,您还可以在<p>...</p>中包装段落。
有关项目符号列表,请查看http://www2.gol.com/users/billp/articlehtml/bullet.html
这是基于这样一个假设:将文本取出并以html格式显示。

10-07 19:06
查看更多