Partilhar via


Método LocalReport.LoadSubreportDefinition

Incluir membros protegidos
Incluir membros herdados

Loads a subreport definition.

Esse membro está sobrecarregado. Para informação completa sobre esse membro, incluindo sintaxe, uso e exemplos, clique em um nome na lista de sobrecargas.

Lista de sobrecargas

  Nome Descrição
Método público LoadSubreportDefinition(String, Stream) Loads a subreport definition using a Stream.
Método público LoadSubreportDefinition(String, TextReader) Loads a subreport definition using a TextReader.

Superior

Comentários

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.

Exemplos

For a code sample, please see SubreportProcessing.

Consulte também

Referência

LocalReport Classe

Namespace Microsoft.Reporting.WebForms