C# ReportExecutionService是否添加数据源?

C# ReportExecutionService是否添加数据源?,c#,sql-server-2008,reportviewer,C#,Sql Server 2008,Reportviewer,到目前为止,我一直在使用ReportViewer.LocalReport生成本地嵌入的SSRS报告的PDF输出,这些报告使用预定义的数据源,这些数据源在我的C#应用程序中被运行时生成的数据覆盖 // Set the DataSources report.LocalReport.DataSources.Add(new ReportDataSource("MilkSolids", this.MilkSolidsTable)); report.LocalReport.DataSources.Add(n

到目前为止,我一直在使用ReportViewer.LocalReport生成本地嵌入的SSRS报告的PDF输出,这些报告使用预定义的数据源,这些数据源在我的C#应用程序中被运行时生成的数据覆盖

// Set the DataSources
report.LocalReport.DataSources.Add(new ReportDataSource("MilkSolids", this.MilkSolidsTable));
report.LocalReport.DataSources.Add(new ReportDataSource("Ingredients", this.IngredientsTable));
当然,缺点是我必须使用旧版本的BIDS来设计报告。但现在我有了一个新选项,可以使用SQLServer2008报表服务器中的web引用。这样,我就可以使用bids2008编写报告,然后让报告服务器进行渲染。这就像是预定义数据源的魅力;但是,我在ReportExecutionService类中找不到有关如何覆盖预定义数据源的任何信息

这可能吗? 如果没有,有人有其他建议吗