Visual Studio 报表查看器控件 2008
几年前,我在 SQL 2005 中使用了报表查看器控件。如果我没记错的话,当时我必须手动下载并安装该控件,即使是为了开发。 看起来 VS 2008 应该带有这个控件,并且它应该位于工具箱的数据部分。我使用的是 VS 2008 数据库版,数据部分没有报表查看器控件。 文档是否错误,或者 Visual Studio 的数据库版本未附带报表查看器控件?
I used the Report Viewer Control with SQL 2005 a few years ago. Back then I had to download and install the control manually, even for development, if I remember this correctly.
It appears that VS 2008 is supposed to come with this control, and it is supposed to be in the Data section in the Toolbox. I am using VS 2008 Database Edition and don't have a report viewer control in the data section.
Is the documentation wrong or does the Database edition of Visual Studio not come with the Report Viewer control?
如果您指的是 MicrosoftReportViewer,我的位于报告部分下。
好的,右键单击数据库部分,然后选择选择项目,它应该会出现一个包含可以添加的控件的框。向下滚动到 ReportViewer。我有 2 个可用的,一个 Winforms,一个 WebForms。选择 Winforms 组件。
If you are refering to the MicrosoftReportViewer, mine is under the Reporting Section.
OK, right click in the Database section, and select choose items, it should bring a box containing controls that can be added. Scroll down to ReportViewer. I have 2 available, one Winforms, one WebForms. Select the Winforms component.