Metodo LocalReport.LoadSubreportDefinition (String, Stream)
Carica una definizione del sottoreport usando un oggetto Stream.
Spazio dei nomi: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- reportName
Tipo: String
Percorso e nome di file della definizione del sottoreport.
- report
Tipo: Stream
Classe Stream contenente la definizione del report per il sottoreport.
Note
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.