IEnumerable<Voucher> voucherList = new Common().GetVouchers(_fromDate, _toDate).Where(x => _selected.Contains(x.ID)).ToList(); //reportDataSource.Value = voucherList this._reportViewer.LocalReport.ReportPath = @"D:\Project\BBApp\BBApp\ReportVoucher.rdlc"; // Path of the rdlc file this._reportViewer.LocalReport.DataSources.Add(new ReportDataSource("DataSet1", voucherList)); //this._reportViewer.LocalReport.Refresh(); this._reportViewer.RefreshReport();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)