图表控件在.net 2010中不起作用 [英] chart control is not working in .net 2010

查看:84
本文介绍了图表控件在.net 2010中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想在asp.net 4.0框架中使用图表控件.但是问题是我的网站是在Framework 2.0上建立的.我在2010年打开了它.因此,当我在页面上拖动图表控件并尝试对其进行操作时,它会显示错误.

hello guys,

i want to use chart control in asp.net 4.0 framework. but the problem is my website is made on framework 2.0. And i opened it in 2010. So when i drag chart control on a page and try to work on it, it shows an error.

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



那么我该如何使用图表控件.

在此先感谢



So how can i use the chart control.

thanks in advance

推荐答案

如果v.4.0中存在;这是证明: http://msdn.microsoft.com/zh-CN -us/library/system.web.ui.datavisualization.charting.aspx [回归测试.

祝你好运,
—SA
If does exist in v.4.0; here is the proof: http://msdn.microsoft.com/en-us/library/system.web.ui.datavisualization.charting.aspx[^].

I have no idea where did you screw up things without looking at your solution. One though is this: try to clean your solution from any intermediate files and leave only the pure source code. Get rid of "*.user", "bin/*", "obj/*", "*.ncb", "*.suo". Always use some Revision Control System and make sure only source code is submitted. Always re-test on a regular basis that you code can be built from scratch on all the systems you want to support, perform regular regression testing.

Good luck,
—SA


这篇关于图表控件在.net 2010中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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