'Declaration Public Overloads Sub Load( _ ByVal reportDefinitionReader As TextReader _ )
public void Load( TextReader reportDefinitionReader )
Parameters
- reportDefinitionReader
- The report definition (*.rdlx) file to load.
'Declaration Public Overloads Sub Load( _ ByVal reportDefinitionReader As TextReader _ )
public void Load( TextReader reportDefinitionReader )
Exception | Description |
---|---|
GrapeCity.ActiveReports.Rdl.Persistence.PersistenceException | Thrown if the report definition cannot be loaded. |
ReportException | Thrown if the specified file does not appear to be a properly formatted RDLX file, or if the report definition has the wrong xmlns specified. |
using (StreamReader sr = new StreamReader(path)) { PageReport report = new PageReport(); report.Load(sr); }