Not able to use System.Web.HttpUtility.UrlEncode from a Win Form

Hi,

I need to use System.Web.HttpUtility.UrlEncode from a Win Form.

How can I use it? System.Web.HttpUtility.UrlEncode(""); is not being recognized by my Win Form App.

Please help.
EEssamAsked:
Who is Participating?
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
Yes you can, put you have to add manually a reference to this namespace.
Project -> Add reference -> (dialog appears) -> .Net Label -> System.Web
0
 
Jaime OlivaresSoftware ArchitectCommented:
Sorry, typo, I meant: but you have ....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.