private void PopulateReport() { using (Tr_DBEntities db = new Tr_DBEntities()) { var v = (from a in db.GetDetailProc() select a); ReportDataSource rd = new ReportDataSource("ds_Tr", v.ToList()); ReportViewer1.LocalReport.DataSources.Add(rd); ReportViewer1.LocalReport.Refresh(); } }