Datasource for RDL reports with ReportViewer
问题 I have some RDL reports created with SQL Server BI Development Studio and now I need to render them using the ASP.NET Report Viewer. Even though my RDLs contain references to the SQL server and the SELECT query, it keeps saying I need to specify a datasource for the report. Is there a way to make the datasource from the RDL be used or do I have to pass a datasource to the report viewer via C# code? Thank you. 回答1: Did you verify the DataSourceReference element in your RDL? It needs the path