protected void print_Click1(object sender, EventArgs e) { oReport1.Load(Server.MapPath("~/Report/PaySalaryMonthWise.rpt")); connection.DoCRLogin(oReport1); CrystalReportViewer1.ReportSource = oReport1; CrystalReportViewer1.DataBind(); oReport1.PrintToPrinter(1, false, 0, 0); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)