Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport5 rpt = new CrystalReport5();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            CrystalReport5 reporte = new CrystalReport5();

            reporte.SetParameterValue("@numFactura", Convert.ToInt32(textBox1.Text));
            reporte.SetParameterValue("@fact", Convert.ToInt32(textBox1.Text));
            crystalReportViewer4.ReportSource = reporte;
        }