Class ExcelWriterAdv
Exports the Report in Excel mode
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ.ReportWriter
Assembly: Syncfusion.EJ.ReportViewer.dll
Syntax
public class ExcelWriterAdv : WriterBase
Constructors
ExcelWriterAdv()
Initializes a new instance of the ExcelWriterAdv class.
Declaration
public ExcelWriterAdv()
ExcelWriterAdv(Stream)
Initializes a new instance of the ExcelWriterAdv class.
Declaration
public ExcelWriterAdv(Stream rdlStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | rdlStream |
ExcelWriterAdv(Stream, ReportDataSourceCollection)
Initializes a new instance of the ExcelWriterAdv class.
Declaration
public ExcelWriterAdv(Stream rdlStream, ReportDataSourceCollection reportDataSources)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | rdlStream | |
ReportDataSourceCollection | reportDataSources |
ExcelWriterAdv(String)
Initializes a new instance of the ExcelWriterAdv class.
Declaration
public ExcelWriterAdv(string rdlFilename)
Parameters
Type | Name | Description |
---|---|---|
System.String | rdlFilename | The filename of the report with its full path |
ExcelWriterAdv(String, ReportDataSourceCollection)
Initializes a new instance of the ExcelWriterAdv class.
Declaration
public ExcelWriterAdv(string rdlFilename, ReportDataSourceCollection reportDataSources)
Parameters
Type | Name | Description |
---|---|---|
System.String | rdlFilename | The filename of the report with its full path |
ReportDataSourceCollection | reportDataSources | DataSource of the Report |
Methods
Dispose()
Declaration
public void Dispose()
Save(Stream)
Exports the report as a Excel document
Declaration
public void Save(Stream excelStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | excelStream |
Save(String)
Exports the report as a Excel document
Declaration
public void Save(string ExcelFilename)
Parameters
Type | Name | Description |
---|---|---|
System.String | ExcelFilename | The name of the Excel file to be saved |
Save(String, HttpResponse)
Exports the report.
Declaration
public void Save(string fileName, HttpResponse response)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | Name of the file to save |
System.Web.HttpResponse | response | Http Response |