Report stimulSoft中的错误

Report stimulSoft中的错误,report,stimulsoft,Report,Stimulsoft,我在使用StimulSoft方面是新手。我完全是在StiWebReport控件中设计报表的,但当我想在页面加载中添加此代码时遇到了问题 Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport(); 它表示“命名空间'Stimulsoft.Report'中不存在类型或命名空间名称'StiReport' 如果出现此错误,我该怎么办?您需要将对正在使用的库的引用添加到Visual Studio中,以便它了解该代码 大概

我在使用StimulSoft方面是新手。我完全是在StiWebReport控件中设计报表的,但当我想在页面加载中添加此代码时遇到了问题

Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport();
它表示“命名空间'Stimulsoft.Report'中不存在类型或命名空间名称'StiReport'


如果出现此错误,我该怎么办?

您需要将对正在使用的库的引用添加到Visual Studio中,以便它了解该代码

大概是这样的:

在解决方案资源管理器中,双击项目的“我的项目”节点。 在项目设计器中,单击“参照”选项卡。 单击“添加”按钮打开“添加引用”对话框。 在“添加引用”对话框中,选择指示要引用的组件类型的选项卡(.Net) 单击浏览 导航到Stimulsoft提供的DLL