Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            RPproveedores rpt = new RPproveedores();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void btnRepProveedores_Click(object sender, EventArgs e)
        {
            query = "exec RPPROVEEDOR";
            Visualizador_de_Reportes frmRep = new Visualizador_de_Reportes();
            RPproveedores            rep1   = new RPproveedores();

            rep1.SetDataSource(Connection.getData(query));
            frmRep.ReportExporta = rep1;
            frmRep.ShowDialog();
            frmRep.Focus();
        }