Sunday, February 19, 2012

"&" in an URL

Hi,

I have the following problem.
I want to execute this url :

http://SERVER/reportserver?/testCUBE/CUBE02&rs:Command=Render&Budgethouder=[Budgethouder].[Naam Budgethouder].%26[1]

"Budgethouder" is my parameter and "[Budgethouder].[Naam Budgethouder].&[1]" is the value

If I enter this url in IE then it executes perfectly, but when I open it with my winform (C# with URI) in a webbrowser it won't work. The URI seems to convert the '%26' to '&', but the ampersand shouldn't have its function, it must be 'seen' as a ordinary character. Can somebody help me with this?
I don't know if this works, but you could try:
%2526 this is a double url-encoded &

|||It won't work, I think he doesn't understand %25. an other idea?

No comments:

Post a Comment