I am trying to fill RDLC report with Typed dataset. I am trying to fill it via code but don't know that what to Put in specific places.
Name of dataset is GPSDBDataSet.XSD, Name of Report if Report.rdlc, Name of datatable is Coordinates.
using Microsoft.Reporting.WebForms;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
ReportViewer1.Visible = true;
ReportDataSource rds = new ReportDataSource();
ReportViewer1.Reset();
ReportViewer1.ProcessingMode = ProcessingMode.Local;
LocalReport rep = ReportViewer1.LocalReport;
rep.Refresh();
rep.ReportPath = "Report.rdlc";
rds.Name = ???????;
rds.Value = ????;
rep.DataSources.Add(rds);
}
}