写 using System.Web.UI;会出现下面的错误 Error 1 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) C:\Documents and Settings\dch\Local Settings\Application Data\Temporary Pro

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 09:30:44

写 using System.Web.UI;会出现下面的错误 Error 1 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) C:\Documents and Settings\dch\Local Settings\Application Data\Temporary Pro
写 using System.Web.UI;会出现下面的错误
Error 1 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) C:\Documents and Settings\dch\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form2.cs 8 18 WindowsApplication1
应该怎么解决啊?

写 using System.Web.UI;会出现下面的错误 Error 1 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) C:\Documents and Settings\dch\Local Settings\Application Data\Temporary Pro
你需要在解决方案里面添加引用,不能只写个using System.Web.UI
即在解决方案里的Reference里面添加引用,找到System.Web.UI添加