错误名称空间'System.Web.UI'中不存在类型或命名空间名称'DataVisualization'(您是否缺少程序集引用?) [英] error The type or namespace name 'DataVisualization' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)

查看:120
本文介绍了错误名称空间'System.Web.UI'中不存在类型或命名空间名称'DataVisualization'(您是否缺少程序集引用?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的, 

Dear all, 

我使用ms visual studio 2010创建了新的网站项目,并将工具箱中的图表控件添加到了aspx, 

i've created new website project using ms visual studio 2010, and add chart control from toolbox to aspx, 

但是当我编译项目时,我发现错误"类型或名称空间名称'DataVisualization'在名称空间'System.Web.UI'中不存在(你是否缺少程序集引用?) "

but when i compiled the project, i'got error "The type or namespace name 'DataVisualization' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)"

 

任何人都可以帮我解决此错误?

Anyone can help me about this error ?

 

谢谢 

M.kamal



推荐答案

检查项目中的References文件夹,查看System.Web.DataVisualization程序集是否在列表中。如果没有,请添加对该程序集的引用。
Check your References folder in your project and see if the System.Web.DataVisualization assembly is in the list. If not, add the reference to that assembly.


这篇关于错误名称空间'System.Web.UI'中不存在类型或命名空间名称'DataVisualization'(您是否缺少程序集引用?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆