Metoda LocalReport.LoadSubreportDefinition — (String, Stream)
Loads a subreport definition using a Stream.
Przestrzeń nazw: Microsoft.Reporting.WebForms
Zestaw: Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)
Składnia
'Deklaracja
Public Sub LoadSubreportDefinition ( _
reportName As String, _
report As Stream _
)
public void LoadSubreportDefinition(
string reportName,
Stream report
)
public:
void LoadSubreportDefinition(
String^ reportName,
Stream^ report
)
member LoadSubreportDefinition :
reportName:string *
report:Stream -> unit
public function LoadSubreportDefinition(
reportName : String,
report : Stream
)
Parametry
- reportName
Typ: String
The path and filename of the subreport definition.
- report
Typ: Stream
A Stream class that contains the report definition for the subreport.
Uwagi
The ReportViewer control requires the definitions for all subreports before it can process a report.If the local report was loaded from the file system by specifying the ReportPath property or loaded from an embedded resource by specifying the ReportEmbeddedResource property, the ReportViewer control automatically loads the subreports from the file system or embedded resource, respectively.In cases where the local report was loaded from a stream, these methods may be used to load subreport definitions.