Metodo LocalReport.LoadSubreportDefinition
Includi membri protetti
Includi membri ereditati
Carica una definizione del sottoreport.
Si tratta di un membro di overload. Per informazioni complete su questo membro, inclusi la sintassi, l'utilizzo e gli esempi, fare clic su un nome nell'elenco degli overload.
Elenco di overload
Nome | Descrizione | |
---|---|---|
LoadSubreportDefinition(String, Stream) | Carica una definizione del sottoreport usando un oggetto Stream. | |
LoadSubreportDefinition(String, TextReader) | Carica una definizione del sottoreport usando un oggetto TextReader. |
In alto
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.
Starting with Visual Studio 2012, if you call LoadSubreportDefinition, any parameters or credentials that you have set previously will be cleared.
Esempi
For a code sample, please see SubreportProcessing.