How To directly Print Using Microsoft.Reporting.WinForms.ReportViewer
-
Hello I'm working on writing code that the retailer C #. Net I want to print an invoice directly when you save a sales invoice, which I've created the report has been the emergence of all the details desired in the report and after the appearance of the report I print it through the land cover on the button of your printer in the report is already in MicroSoft.Reporting.WinForms.ReportViewer And a data source by the name of the report SaleReport.rdlc And a source of design through SalesDataSet.xsd I Bouklgaha in the system through the addition of Add NewItem But after arriving in this class I want to print the report directly from that I am not pressing any button on the screen without opening the screen that Tardhaltgarir How can I print this way without the emergence of direct ReportViewer I am sorry if they write English is poor :rose:
Thaer
-
Hello I'm working on writing code that the retailer C #. Net I want to print an invoice directly when you save a sales invoice, which I've created the report has been the emergence of all the details desired in the report and after the appearance of the report I print it through the land cover on the button of your printer in the report is already in MicroSoft.Reporting.WinForms.ReportViewer And a data source by the name of the report SaleReport.rdlc And a source of design through SalesDataSet.xsd I Bouklgaha in the system through the addition of Add NewItem But after arriving in this class I want to print the report directly from that I am not pressing any button on the screen without opening the screen that Tardhaltgarir How can I print this way without the emergence of direct ReportViewer I am sorry if they write English is poor :rose:
Thaer
-
Hello Thank you for the help But this is not what I want because: the source of the database is not an existing file, but I have to create DataSet In the system and you put a source of the report and the report shows all the details that I want to But what I want is to print directly now :rose:
Thaer
-
Hello Thank you for the help But this is not what I want because: the source of the database is not an existing file, but I have to create DataSet In the system and you put a source of the report and the report shows all the details that I want to But what I want is to print directly now :rose:
Thaer
Thaer Hamael wrote:
you put a source of the report and the report shows all the details
A generic report that shows whatever data that you point to? That would require you to generate the RDL[^] at runtime. Happy Programming :)
I are Troll :suss: