server.urlencode work for winforms

C

Cirene

Why is it when i try to use server.urlencode in a winform app that it can't
seem to locate the function? (I am utilizing the browser control.)

Thanks!
 
N

nick chan

u must include the system.web reference

then try system.Web.HttpUtility.UrlEncode
 
C

Cirene

When i type in system.web the only thing available are 3 functions for
AspnetHostingPermission. Any more ideas? Thanks.

u must include the system.web reference

then try system.Web.HttpUtility.UrlEncode
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top