473,385 Members | 1,356 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,385 software developers and data experts.

System.Web.UI namespace

Hi,
What could possibly be a reason for getting an error when trying to use:

using System.Web.UI;
The type or namespace name 'UI' does not exist in the class or namespace
'System.Web' (are you missing an assembly reference?)

Thanks!
Mel
Nov 17 '05 #1
2 15246
melanieab wrote:
Hi,
What could possibly be a reason for getting an error when trying to
use:

using System.Web.UI;
The type or namespace name 'UI' does not exist in the class or
namespace 'System.Web' (are you missing an assembly reference?)

Thanks!
Mel


that you do not have a project-reference to the System.Web assembly (dll).
Highlight the project (-name), right-click, "add reference"; on .NET tab
select (double click) "System.Web.dll", click "ok"

Hans Kesting
Nov 17 '05 #2
Thanks!!! That was driving me crazy.
Mel

"Hans Kesting" wrote:
melanieab wrote:
Hi,
What could possibly be a reason for getting an error when trying to
use:

using System.Web.UI;
The type or namespace name 'UI' does not exist in the class or
namespace 'System.Web' (are you missing an assembly reference?)

Thanks!
Mel


that you do not have a project-reference to the System.Web assembly (dll).
Highlight the project (-name), right-click, "add reference"; on .NET tab
select (double click) "System.Web.dll", click "ok"

Hans Kesting

Nov 17 '05 #3

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

Similar topics

1
by: Snehal and Shantanu Gadkari | last post by:
I installed the 60 day evaluation version of Visual Studio .net 2003 yesterday 11/24. I am trying to use the MessageBox API and I find that the System.Windows hierarchy is missing Regards,...
9
by: MDoyle | last post by:
Here is the easiest question you’ll get all day from a complete newbie. I installed Visual Studio on my laptop last night and have been tryin to write my very first C# programs this morning. I’m...
6
by: jeffo | last post by:
Hello everyone I'm looking at an example in the MSDN library and it says that this code requires a reference to the system namesppace. What does this mean? Thanks in advance.
10
by: Herby | last post by:
I seem to be having a problem with System namespace. There seem to two System namepaces when viewing through Object browser within .NET 2005. One global System:: Then one under <mscorlib> Each...
12
by: Keith Patrick | last post by:
Can someone tell me the difference in terms of actual implications using: namespace MyNamespace { using System; class MyClass {...} } vs. using System;
3
by: Whooty | last post by:
Hello, im kind of new in using C++ and I have a question, I tried some tutorials and eventualy came to the part where the system namespace is used, but for some reason it won't work, #include...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: 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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.