Solved

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

Posted on 2007-11-24
2
491 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
Comment Utility
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
Comment Utility
Sorry, typo, I meant: but you have ....
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now