Some information will be available on MSDN soon.
Meanwhile here are the steps to create a basic WinForms app using the
ReportViewer control:
1. Create a C# or VB project.
2. From the Data menu choose Show Data Sources command. This opens the Data
Sources window.
3. The toolbar of Data Sources window has an Add New Data Source button.
Press this button to launch the Data Source Configuration Wizard.
4. Click Database in the Data Source Configuration Wizard. Continue with the
wizard. When you finish the wizard the columns of the selected table will
appear in the Data Sources window.
5. From Project menu choose Add New Item. In the Add New Item dialog choose
Report. This launches Report Designer.
6. Design the report. You can drag & drop fields from the Data Sources
window. (You may also need to access the Report Data Sources dialog, from
the Report menu. This dialog is used to specify which of the project data
sources should be used in the report.)
7. Expand the Data section of the Toolbox and drag & drop ReportViewer
control to the form.
8. In the smart tags panel of ReportViewer, select the report you designed.
As soon as the report is selected all the necessary code is generated for
you.
9. Press F5 to run the application.
For basic reports you don't have to write even a single line of code.
If you have subreports you have to handle
ReportViewer.LocalReport.SubreportProcessing event, and supply data for the
subreport in the event handler. If you have drillthrough reports you have to
handle ReportViewer.Drillthrough event and supply data for the drillthrough
report in the event handler.
Data can be supplied as DataTables or as a collection of business objects.
If you are familiar with the DataGridView control then ReportViewer control
is similar as far as data is concerned. The only difference is that the
DataGridView control only accepts one datasource instance at a time, but you
can supply multiple datasource instances to the ReportViewer control.
Create a simple app using the steps above then explore the API, especially
ReportViewer.LocalReport object. If you have questions post them here.
--
Rajeev Karunakaran [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
[quoted text, click to view] <pdxfilter-google@yahoo.com> wrote in message
news:1113945648.063634.130760@z14g2000cwz.googlegroups.com...
> We're a small ISV looking to move away from Crystal Reports. For some
> months, we've been waiting with bated breath for the release of an
> embeddable, Windows Forms control that is able to render RDL.
>
> VS.net Beta 2 was supposed to provide this. The control (ReportViewer)
> seems to be included, but has no associated documentation or samples.
> We tried to guess our way through the API, with no luck.
>
> Our question: When does Microsoft expect to release a
> workable/documented version of this control? Does anyone know if there
> are samples or documentation available outside of MSDN?
>
> Any information, no matter how small a scrap would help us immensely.
> Thanks!
>