0
我有一個SSRS 2008報告應用程序。數據庫中的幾個字段存儲在Escaped HTML中。下面是一個例子:SSRS 2008在報告中呈現HTML
<p> &bull; ABC 123 leadership will be required from January 2013 through July 2015 based on proposal schedule included in the 123 proposal kick-off package<br /> <br /> &bull; 65 deliverable ABCs (57 new ABCs required for DEF and 8 ABC kits carried over from F404 contract) will be build to print ABC-107s &ndash; no effort is included in this bid to modify the design of these production units.<br /> &nbsp;</p>
澄清爲什麼數據存儲爲HTML。
我們使用CkEditor RTF文本區域,以允許用戶將格式化的數據輸入到我們的Web應用程序(SSRS報告從其啓動)。
有沒有辦法在格式化的SSRS報表中呈現它,看起來就像在HTML網頁中一樣?
@Orsol ....突出。我在報告屬性中添加了對System.Web的引用。然後添加代碼以使用Html文本在數據集的字段上使用System.Web.HttpUtility.HtmlDecode()。工作很棒!謝謝 – MikeTWebb
這正是我所尋找的。很好的回答......謝謝,拉希德·汗 – rashkay