IBM Datacap, Version 8.1            

Adding the ReportViewer control to your project

You must add the ReportViewer control to your project to be able to present the custom report in Microsoft Visual Studio.

To add the ReportViewer control to your project:

  1. If the Visual Studio toolbox is not visible, click View > Toolbox.
  2. In the toolbox, scroll to the Data section and look for the ReportViewer control. If it is not in the Data section, look for the MicrosoftReportViewer control in the Reporting section. If you see neither control, complete the following steps:
    1. Right-click anywhere within the toolbox and select Choose Items.
    2. On the .NET Framework Components tab, select the Microsoft.Reporting.WinForms version of the ReportViewer control and click OK. If you see two versions, you can select either one.
  3. In the toolbox, select the ReportViewer control or the MicrosoftReportViewer control and drag it onto the default form.
    Tip: You can also complete this step by double-clicking ReportViewer. Visual Studio places the control onto the form for you.
  4. In the ReportViewer Tasks dialog, select Dock in parent container to resize the ReportViewer control to fit the form.
    Attention: If the ReportViewer Tasks dialog is not presented automatically, click Smart Tag at the upper right of the ReportViewer control. If you cannot see the Smart Tag button, expand the Design pane to present the entire ReportViewer control.


Feedback

Last updated: November 2013
dcapi016.htm

© Copyright IBM Corporation 2013.