I can successfully get the application to display the report correctly via the snippet below. This requires me to have the report file directly on the file system. I have the report itself set as an embedded resource in the report's properties. I would much rather be able to distribute the app without having to include the RPT file itself. I figured if I made it a strongly typed report (hopefully I'm using the correct terminology), I could then simply set the report object to the datasource, I should be okay ... but I can't seem to figure out how to set the datasource property for the report object. The code that I was trying is within the commented block in the snippet. If I try to run it as is, the application will load ... but it just gets no data.
Any help is appreciated! Thanks!
private void Form1_Load(object sender, EventArgs e)
docRPT.Load(Application.StartupPath + "\\SuperVReport.rpt");
crystalReportViewer1.ReportSource = docRPT;
EMSA EMSARPT = new EMSA();
crystalReportViewer1.ReportSource = EMSARPT;