开发者

Is there any difference between system.web.datavisualization and system.web.UI.datavisualization

开发者_StackOverflowI've found a nice article on how to create Chart progammaticaly in ASP.NET MVC on ASP.NET website. Scott Mitchell, the author, uses a class called Chart() that he said comes from system.web.UI.datavisualization. But, when I try to reference system.web.UI.datavisualization namespafe from my projet,looking at the .NET tab, I don't see it. Instead, I find system.web.datavisualization (without UI between System and DataVisualization).

I wonder if we are talking about the same namespace. If that's not the case, where can I find the system.web.UI.datavisualization and how to install it?

Thanks for helping.


The Chart class is located in the System.Web.UI.DataVisualization.Charting namespace (there is UI here) in the System.Web.DataVisualization.dll assembly (no UI here).

Is there any difference between system.web.datavisualization and system.web.UI.datavisualization

The .NET tab of the Add Reference window shows a list of assemblies (not namespaces), so you will see System.Web.DataVisualization (not System.Web.UI.DataVisualization.Charting) there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜