LocalReport.LoadReportDefinition 方法 (TextReader)
從本機檔案系統使用 TextReader 載入報表定義。
命名空間: Microsoft.Reporting.WebForms
組件: Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)
語法
'宣告
Public Overrides Sub LoadReportDefinition ( _
report As TextReader _
)
public override void LoadReportDefinition(
TextReader report
)
public:
virtual void LoadReportDefinition(
TextReader^ report
) override
abstract LoadReportDefinition :
report:TextReader -> unit
override LoadReportDefinition :
report:TextReader -> unit
public override function LoadReportDefinition(
report : TextReader
)
參數
- report
類型:TextReader
TextReader 類別,包含本機報表的報表定義。
備註
The LoadReportDefinition method can be used in cases where the report definition is dynamically generated.
If the loaded report definition contains any subreports, you must call LoadSubreportDefinition and provide data for any subreports.