我想在 WebMatrix 3 中使用 ASP.NET 网页中可用的完整图表选项。
我认为这意味着使用 System.Web.UI.DataVisualization.Charting
添加时:
using System.Web.UI.DataVisualization.Charting
在我的页面顶部,我收到错误:
Compiler Error Message: CS0234: The type or namespace name 'DataVisualization' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)
那里有很多教程(包括关于 SO)演示如何将 dll 下载并引用到 Visual Studio 中,但据我所知,我们 WebMatrix 用户没有任何内容。
这是否意味着它不能在 WebMatrix 站点中使用?如果是这样,为什么?
如果有人知道如何在 WM 中包含相关的命名空间,如果您能在这里解释一下,我将不胜感激。