There should be something like this:
ReportViewer.LocalReport.DataSources.Clear(); ReportViewer.LocalReport.DataSources.Add("DataSet_Name",DataTable); ReportViewer.LocalReport.Refresh();
Important Note: The dataset name must match the name that appears in rdlc. To make sure you know what it is, open rdlc in an XML editor and find out what the name of the dataset is. When you add a data source programmatically, you must refer to this name as it is specified in rdlc for sure.
source share