Ejemplo n.º 1
0
        private void RP_DX_Load(object sender, EventArgs e)
        {
            List <SP_CHITIETPHIEUDEXUAT_Result> tmp = db.SP_CHITIETPHIEUDEXUAT(soPhieu).ToList();
            BindingSource bs = new BindingSource();

            bs.DataSource = tmp;
            DX_RP rp = new DX_RP();

            rp.SetDataSource(bs);
            crv.ReportSource = rp;
            crv.RefreshReport();
        }