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

Posted on 2007-11-24
Medium Priority
Last Modified: 2013-12-16

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.
Question by:EEssam
  • 2
LVL 55

Accepted Solution

Jaime Olivares earned 2000 total points
ID: 20344826
Yes you can, put you have to add manually a reference to this namespace.
Project -> Add reference -> (dialog appears) -> .Net Label -> System.Web
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20344828
Sorry, typo, I meant: but you have ....

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question