示例#1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            comboBox1.SelectedIndex = 0;
            reporte RA = new reporte();

            RA.SetParameterValue("@matricula", mat);
            rep_Asesor.ReportSource = RA;

            Revisor_Doc R1 = new Revisor_Doc();

            R1.SetParameterValue("@matricula", mat);
            R1.SetParameterValue("@numfecha", comboBox1.SelectedIndex + 1);
            rep_R1.ReportSource = R1;

            Revisor2_Doc R2 = new Revisor2_Doc();

            R2.SetParameterValue("@matricula", mat);
            R2.SetParameterValue("@numfecha", comboBox2.SelectedIndex + 1);
            rep_R2.ReportSource = R2;

            Proyecto p = new Proyecto();

            p.SetParameterValue("@matricula", mat);
            rep_Proyecto.ReportSource = p;
        }
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Revisor_Doc rpt = new Revisor_Doc();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#3
0
        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            Revisor_Doc R1 = new Revisor_Doc();

            R1.SetParameterValue("@matricula", mat);
            R1.SetParameterValue("@numfecha", comboBox1.SelectedIndex + 1);
            rep_R1.ReportSource = R1;
        }