Problem with Displaying Report
I am using Visual Studio 2010 EXPRESS EDITION.
I downloaded and installed FastReport
But i am having problem with the code.
i added report from toolbox and designed the report
then i added previewcontrol from the toolbox
can u help with the code on how to add the designed report to the printcontrol?
i tried the following code:
report1.load(" File Path ")
previewcontrol1.document = report1.document
the second line is showing error.
I downloaded and installed FastReport
But i am having problem with the code.
i added report from toolbox and designed the report
then i added previewcontrol from the toolbox
can u help with the code on how to add the designed report to the printcontrol?
i tried the following code:
report1.load(" File Path ")
previewcontrol1.document = report1.document
the second line is showing error.