Exemplo n.º 1
0
        private void frmProductosRP_Load(object sender, EventArgs e)
        {
            CRCatalogoPrecios CRep = new CRCatalogoPrecios();

            CRep.Load("CRCatalogoPrecios.rpt");
            CRep.SetDataSource(DTable);
            cRVProductos.ReportSource = CRep;
        }
Exemplo n.º 2
0
        private void biCatalogo_Click(object sender, EventArgs e)
        {
            CRCatalogoPrecios rpt = new CRCatalogoPrecios();
            frmCatalogoRP     frm = new frmCatalogoRP();

            rpt.SetDataSource(ds.CatalogoConPrecio().Tables[0]);
            frm.cRVProductos.ReportSource = rpt;
            frm.Show();
        }