我在 MS SQL 数据库中有 html。我想在 SSRS 页面上呈现 html,这可能吗?
最佳答案
出于“安全原因”,SQL 2005 Reporting Services 中故意禁用了这种功能。我相信当时的建议是将任何 html 记录为图像并将图像嵌入到报告中。我决定完全放弃报告服务。对不起!
如果您使用 SQL 2008您可以在报告中使用一些 HTML。但是,可以使用的标记有一些限制:
The following is a complete list of tags that will render as HTML when defined as placeholder text:
* Hyperlinks: <A href> * Fonts: <FONT> * Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN> * Text format: <B>, <I>, <U>, <S> * List handling: <OL>, <UL>, <LI>
Any other HTML markup tags will be ignored during report processing
关于html - 我可以在 SSRS 2005 中从 SQL 数据库呈现 HTML 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/745113/