특정 데이터에 대한 보고서를 생성하기 위해 asp.net 애플리케이션을 작성했습니다. 처음에는 보고서를 생성하기 위해 로컬 보고서 (.rdlc)를 만들었습니다. 각 rdlc에 대해 별도의 .xsd를 만들고 보고서를 디자인했습니다. 프로그래밍 방식으로 데이터 집합을 빌드하고이를 rdlc에 바인딩합니다. 나는 보고서에 데이터 소스를 바인딩 다음 코드를 사용 - 프로그래밍 방식으로 보고서 서버의 rdl에 데이터 소스 바인딩 - SSRS
rptMyReport.LocalReport.ReportPath = Server.MapPath(srdlcName);
rptMyReport.LocalReport.DataSources.Add(rds);
지금 내가
this msdn article을 다음 RDL하는 모든 RDLC을 변환하고 i는 보고서 서버에 보고서를 발표했습니다.
rptMyReport.ServerReport.ReportServerUrl = new System.Uri("http://ReportServer/ReportServer");
rptMyReport.ServerReport.ReportPath = "/ReportFolder/ReportName";
어떻게 데이터 소스를 프로그래밍 방식으로 보고서에 설정할 수 있습니까?
감사합니다. 그랬어! – NLV