开发者

It's Possible To Render HTML Inside a SQL Server Reporting Services 2008's Report?

开发者 https://www.devze.com 2023-01-30 18:52 出处:网络
I\'ve read, that is possible to render HTML inside a SSRS 2008 report making use of the HTML Markup type of the textbox control.

I've read, that is possible to render HTML inside a SSRS 2008 report making use of the HTML Markup type of the textbox control.

I'm trying to render a simple link like:

<a href="/destination">My Link</a>

So the value of the placeholder would be:

="<a href=\"destination\">"My link</a>"

But it seems like the \" is causing problems. the开发者_JS百科re is a runtime error for using such expression: The Value expression for the textrun ‘Numbers1.Paragraphs[0].TextRuns[0]’ contains an error: [BC30205] End of statement expected. (rsCompilerErrorInExpression)

How do you escape the " character inside a expression?

Is it possible to render HTML?


\" is how you escape a quote in C#. SSRS uses VB.NET I believe, so using "" should work.

0

精彩评论

暂无评论...
验证码 换一张
取 消