Solved

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

Posted on 2007-11-24
2
495 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Finding Events logs for IIS website that restarts 2 14
Name Space error VS2015 1 22
abstract class C# 1 30
JQuery Detecting page post back 6 6
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

792 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