I have tried the Crystal reports option following the instructions on the
link you sent. The wizard is very easy and straightforward yet, my report
data in it since it dispays fine on the main form. but when I call my
"Linda Liu [MSFT]" <v-lliu@online.microsoft.com> wrote in message
news:66icWAvpGHA.4556@TK2MSFTNGXA01.phx.gbl...
> Hi John,
>
> Thank you for posting.
>
> If you want to print some data from a dataset, I think you have two
> options
> to do this.
>
> 1. Using crystal report
>
> a. Create a crystal report (.rpt file) in your project.
> b. Bind the dataset to the report.
> c. If you want to preview the report before printing, add a
> CrystalReportViewer control on a form and bind the report to the
> CrystalReportViewer.
> d. Make use of the CrystalReportViewer by clicking the print button on
> its toolbar to print the report. You may also call the PrintToPrinter
> method of the report to print it.
>
> For more information on how to create a crystal report, you could refer to
> the following link:
>
http://msdn2.microsoft.com/en-us/library/ms227360(d=ide).aspx
>
> 2. Using report definition (.rdlc) file
>
> a. Create a report definition file in your project.
> b. Bind the dataset to the report.
> c. Add a ReportViewer control on a form and bind the report to the
> ReportViewer.
> d. Make use of the ReportViewer by clicking the print button on its
> toolbar to print the report.
>
> For more information on how to create a report definition file, you could
> refer to the link below:
>
http://msdn2.microsoft.com/en-us/library/ms252067(d=ide).aspx
>
> Hope this helps.
> If you have anything unclear, please feel free to let me know.
>
>
>
> Sincerely,
> Linda Liu
> Microsoft Online Community Support
>
> ============================================================================
> =============================================
> Get notification to my posts through email? Please refer to
>
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif > ications.
>
> With newsgroups, MSDN subscribers enjoy unlimited, free support as opposed
> to the limited number of phone-based technical support incidents. Complex
> issues or server-down situations are not recommended for the newsgroups.
> Issues of this nature are best handled working with a Microsoft Support
> Engineer using one of your phone-based incidents.
>
> ============================================================================
> =============================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>