473,378 Members | 1,410 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Missing Classes in the System.Web Namespace

Hi all,

I'm trying to use System.Web.HttpUtility.UrlEncode() method, but I keep
getting the compiler error:

"The type or namespace name 'HttpUtility' does not exist in the
namespace 'System.Web' (are you missing an assembly reference?)"

I am using System.Web and C# 2005 Express Edition Beta. Of the possible
classes, I am able to use only the first three listed on msdn:

http://msdn.microsoft.com/library/de...fsystemweb.asp

What am I doing wrong? Thanks in advance.
Nov 16 '05 #1
1 6504
It sounds like you did not add a project reference to System.Web to your
solution.

"Typpo" wrote:
Hi all,

I'm trying to use System.Web.HttpUtility.UrlEncode() method, but I keep
getting the compiler error:

"The type or namespace name 'HttpUtility' does not exist in the
namespace 'System.Web' (are you missing an assembly reference?)"

I am using System.Web and C# 2005 Express Edition Beta. Of the possible
classes, I am able to use only the first three listed on msdn:

http://msdn.microsoft.com/library/de...fsystemweb.asp

What am I doing wrong? Thanks in advance.

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: dimension | last post by:
Hi, in visual studio 2005 beta, when i type "using System.Web." no code complete helper pops up. Similarly, when typing "using System.Net." i do not see an HttpWebRequest in the list that pops...
6
by: David B. Bitton | last post by:
I am having a problem deserializing XML when the root node is missing a namespace declaration. My Type has an XmlTypeAttribute with a namespace defined. If I attempt to deserialize the XML, I get...
0
by: Alberto Grosso Nicolin | last post by:
We have the following XML schema: there's a root element (Response) with of a single child element (Result). ...
3
by: muesliflakes | last post by:
The type or namespace name 'ControlDesigner' does not exist in the class or namespace 'System.Window.Forms.Design' I'm attempting to use the CSharp example HelpLabelDesigner which extends...
1
by: Rob Deacon via .NET 247 | last post by:
I am just getting into this .NET stuff. Looks really handy. I wastrying to run some standard tests, like throwing up aMessageBox.Show("Code Hit Here - ln 124"); Just to make sure Iwas building things...
9
by: Psych971 | last post by:
Hi, I'm wondering where I'm supposed to get the ADO.NET component? The documentation says to reference System.Data.ADO but it seems to be missing from my system as I've checked the System.Data...
14
by: tshad | last post by:
I am trying to set up a reusable library (business component) that I can use in a bunch of my pages. I built the file and it almost compiles, but I am not sure what I am missing. The vbc...
12
by: Nathan Sokalski | last post by:
I have several CustomControls that I have written for my project. However, when I try to compile I recieve the following warning & errors: Warning 32 Could not resolve this reference. Could not...
7
by: =?Utf-8?B?QU9UWCBTYW4gQW50b25pbw==?= | last post by:
Hi, I have been using the code (some of it has been removed for simplicity) below to allow authenticated (using ASP.NET membership database) users to get a file from their archive area. It...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.