LocalReport.ReportPath 속성
로컬 보고서의 로컬 파일 시스템 경로를 가져오거나 설정합니다.
네임스페이스: Microsoft.Reporting.WebForms
어셈블리: Microsoft.ReportViewer.WebForms(Microsoft.ReportViewer.WebForms.dll)
구문
‘선언
Public Property ReportPath As String
Get
Set
‘사용 방법
Dim instance As LocalReport
Dim value As String
value = instance.ReportPath
instance.ReportPath = value
public string ReportPath { get; set; }
public:
property String^ ReportPath {
String^ get ();
void set (String^ value);
}
member ReportPath : string with get, set
function get ReportPath () : String
function set ReportPath (value : String)
속성 값
유형: System.String
String 값
주의
ReportPath 속성을 설정하면 ReportViewer 컨트롤이 파일 시스템에서 필요한 포함된 보고서를 자동으로 로드합니다.
이 속성을 설정하면 ReportEmbeddedResource 속성의 값이 무시됩니다. 또한 LoadReportDefinition을 사용하여 로드된 보고서도 무시됩니다.