网址编码 [英] URL encoding

查看:125
本文介绍了网址编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我有一个报表服务,其中的各种报表都有不同的参数.最近一些参数包含特殊字符(+,-,''等),导致报表只能从报表查看器中生成.

如何编码url,以便报表服务器正确处理?

谢谢

Hi, i have a reporting service with various report all having different parameters.lately some of the parameters include special characters(+,-,'' ,etc..) causing the report to be only generated from the report viewer.

how can i encode the url so that the report server get it right?

thanks

推荐答案


您需要使用HttpUtility.URLEncode()
处理特殊字符
请查看此博客条目以获取全部详细信息:
Reporting Services中的URL编码 [
You need to handle special characters using HttpUtility.URLEncode()

Have a look at this blog entry for full detail:
URL Encoding in Reporting Services [^]


这篇关于网址编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆