Print Crystal Report Directly in Windows application
Crsytalreport1.SetDatabaseLogon("DatbaseUserName", "password", "server", "database");
Crsytalreport1.SetParameterValue("@Barcode", value);
crystalReportViewer1.ReportSource = Crsytalreport1;
settings.PrinterName = "Printer Name";
barc1.PrintToPrinter(1, false, 0, 0);
No comments:
Post a Comment