Reportes rep = new Reportes(); DataTable dt = new DataTable(); dt = rep.GetDataReporRQ(id, TipoDoc); Rpt_Requisicion rpt = new Rpt_Requisicion(); rpt.SetDataSource(dt); rpt.PrintOptions.PrinterName = printer; rpt.PrintToPrinter(1,true, 0, 0); EventLog.WriteEntry("Impreso" + TipoDoc + "_" + id.ToString());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)