Solved

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

Posted on 2007-11-24
2
494 Views
Last Modified: 2013-12-16
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.
0
Comment
Question by:EEssam
  • 2
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 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
0
 
LVL 55

Expert Comment

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

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

773 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