Example #1
0
        private void RP_NHCN_Load(object sender, EventArgs e)
        {
            List <SP_CHITIETPHIEUNHAPCHINHANH_Result> tmp = db.SP_CHITIETPHIEUNHAPCHINHANH(sophieu).ToList();
            BindingSource bs = new BindingSource();

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

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