>
> Isn't SSRS Sql Server Reporting Services?
Yes it is.
However the Visual Studio IDE allows us to develop SSRS reports.
SSRS reports support .NET objects - I use typed datasets- as data sources.
>> Where is a native reporting system embedded in the language (C#)? A sample or link please if it really exists.
Before VS 2017 .NET required that a report viewer module be installed on each workstation before an SSRS report could be executed.
With VS 2017 that report viewer was built into VS and the module is no longer required
Here is a C# utility that displays a .NET dataset table in an SSRS report in a winform frmreportviwer that contains a report viewer control.
public void ShowVsReport(string ReportPath, string DataSetName, DataTable dt)
{
FrmVSReportViewer frmVSReportViewer = new FrmVSReportViewer();
frmVSReportViewer.reportViewerVSReport.ProcessingMode = ProcessingMode.Local;
frmVSReportViewer.reportViewerVSReport.LocalReport.DataSources.Clear();
frmVSReportViewer.reportViewerVSReport.LocalReport.ReportPath = ReportPath;
ReportDataSource rds = new ReportDataSource();
rds.Name = DataSetName;
rds.Value = dt;
frmVSReportViewer.reportViewerVSReport.LocalReport.DataSources.Add(rds);
frmVSReportViewer.reportViewerVSReport.RefreshReport();
frmVSReportViewer.ShowDialog();
}
}
}
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.