a data source instance has not been supplied for the data source 'dataset1'
mcs_kioskDataSet kds = new mcs_kioskDataSet(); ReportDataSource rds = new ReportDataSource(); rds.Value = kds; reportViewer1.ProcessingMode = ProcessingMode.Local; reportViewer1.LocalReport.ReportPath = @"D:\Jagadeeswaran\Project\User\User\Report2.rdlc"; reportViewer1.RefreshReport(); host.Child = reportViewer1;
The report data source object must be of the type System.Data.DataTable, System.Collections.IEnumerable, System.Windows.Forms.BindingSource, or System.Type.
reportViewer1.ProcessingMode = ProcessingMode.Local; reportViewer1.LocalReport.ReportPath = @"D:\Jagadeeswaran\Project\User\User\Report1.rdlc"; reportViewer1.RefreshReport(); host.Child = reportViewer1;
rds.Value = kds;
rds.Value = kds.Tables[0];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)