Binding a datasource to a rdl in report server programmatically - SSRS

前端 未结 3 879
离开以前
离开以前 2021-01-21 16:38

I\'ve done a asp.net application to generate reports over a particular data. Initially i created local reports (.rdlc) to generate reports. I created separate .xsd for each rdlc

3条回答
  •  广开言路
    2021-01-21 17:35

    This work is impossible. you should create your datasource in your rdl report. you must write needed queries for report data gathering. you can use this query as a text or stored procedure. You can pass parameters to this query and filter the output of the query. you can only pass the parameters to rdl report like this:

    ReportParameter[] Params = new ReportParameter[1];
    Params[0] = "Parameter Value";
    ReportViewerControl.ServerReport.SetParameters(Params);
    

提交回复
热议问题