ReportDocument doc = new ReportDocument(); doc.Load(Server.MapPath("TicketReport.rpt")); doc.SetParameterValue("@theaterId", theater_id); doc.SetParameterValue("@screenId", Screen_ID); doc.SetParameterValue("@MovieId", Movie_ID); doc.SetParameterValue("@ClassId", Class_ID); doc.SetParameterValue("@movie_ShowDate", dt); doc.SetParameterValue("@BookId", book_Id); doc.SetParameterValue("@Col_No", Convert.ToInt32(colmnArray[j].ToString())); doc.SetParameterValue("@row_No", ronNoNew); doc.SetDatabaseLogon("sa", "sa", "DS1", "CineVistaDB"); doc.PrintOptions.PrinterName = "PdfFactory"; doc.PrintToPrinter(1, false, 1, 1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)