0

有没有办法对 SSRS 报告的 URL 进行编码?

我尝试了以下方法,但输出与我需要的不匹配:

代码:

System.Uri.EscapeUriString("Receiving Inspection/Receiving Inspection End Of Lot")

结果:

Receiving%20Inspection/Receiving%20Inspection%20End%20Of%20Lot

我也试过...

代码:

System.Uri.EscapeDataString("Receiving Inspection/Receiving Inspection End Of Lot")

结果:

Receiving%20Inspection%2FReceiving%20Inspection%20End%20Of%20Lot

SSRS 想要以下格式...

Receiving+Inspection%2FReceiving+Inspection+End+Of+Lot

或者我应该用“+”号替换空格?

感谢 jlimited

4

1 回答 1

0

我遇到了这个帖子,可能会很糟糕。 http://www.jensbits.com/2012/01/23/generate-sql-server-reporting-services-ssrs-report-as-pdf-from-url-with-vb-net-or-c-net/

于 2013-09-11T00:54:51.683 回答