我的数据库中有一个带换行符的字符串,我想将其拆分并在网页中显示为段落。这是我的数据库中的文本:
My first paragraph my second paragraph my third paragraph
我想在我的网页中显示为
My first paragraph
my second paragraph
my third paragraph
我们有一个Server数据库(2012标准版)。数据库是通过ASP.Net网页访问的,该网页在页面加载时显示不同表中的数据库计数。
但是,当我们从Management运行一个长查询时,网页无法加载。在Management中运行长查询时,数据库似乎没有响应。这是正常的行为吗?
网页会出现以下错误-
Timeout expired. The timeout period elapsed prior to completion of the operation or
the server is not responding.
Description: An unhandled exception