471,335 Members | 1,460 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,335 software developers and data experts.

java.net.URLEncoder.encode("youruserid"); in c#?

what is the c# equivalent to
java.net.URLEncoder.encode("youruserid");

Thanks,
Vinny Vinn
Dec 22 '05 #1
2 9322
Vinny,

You can use the UrlEncode method on the HttpUtility class, or the
HttpServerUtility class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Vinny Vinn" <Vi*******@discussions.microsoft.com> wrote in message
news:5E**********************************@microsof t.com...
what is the c# equivalent to
java.net.URLEncoder.encode("youruserid");

Thanks,
Vinny Vinn

Dec 22 '05 #2
Thank you, i am going with System.Web.HttpUtility.UrlEncode.

"Nicholas Paldino [.NET/C# MVP]" wrote:
Vinny,

You can use the UrlEncode method on the HttpUtility class, or the
HttpServerUtility class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Vinny Vinn" <Vi*******@discussions.microsoft.com> wrote in message
news:5E**********************************@microsof t.com...
what is the c# equivalent to
java.net.URLEncoder.encode("youruserid");

Thanks,
Vinny Vinn


Dec 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by apchar | last post: by
5 posts views Thread by DaWaN | last post: by
reply views Thread by Ravi Tallury | last post: by
1 post views Thread by ptaz | last post: by
reply views Thread by Simon Hawkins | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.