DataExportHelper Methods |
The DataExportHelper type exposes the following members.
Name | Description | |
---|---|---|
CreateColumnName |
Creates column name from column number ("1" -> "A")
| |
CreateColumnReference |
Creates column reference from column and row numbers.
| |
ExportData(DataExportFormatEnum, Stream) |
Exports data stored in DataSource property, writes it to given stream.
| |
ExportData(DataExportFormatEnum, HttpResponse) |
Exports data stored in DataSource property, writes it to given response.
| |
ExportToCSV(DataSet, Int32, Stream) |
Exports specified table of given DataSet to CSV format.
| |
ExportToCSV(DataSet, Int32, Stream, Boolean) |
Exports specified table of given DataSet to CSV format.
| |
GetColumnCaptionText |
Gets a caption for given column name.
| |
GetColumnIndex |
Gets index of a column corresponding to columns actually selected to export.
| |
GetColumnName |
Returns name of column from given cell reference (ex. "B4" -> "B")
| |
GetColumnNumber |
Gets number of given column name ("A" -> "1")
| |
GetDataExportFormatContentType |
Returns content type for given format.
| |
GetDataExportFormatEnum |
Returns DataExportFormat enum.
| |
GetDataExportFormatString |
Returns DataExportFormat string.
| |
GetExportedColumns |
Gets columns that should be exported.
| |
GetExportedData |
Gets the DataSet with the formatted exported data
| |
GetExportedValue |
Gets the exported value for the given
| |
GetRowNumber |
Returns number of a row from given cell reference (ex. "B4" -> "4")
| |
GetXMLElementName |
Normalizes header text to be usable as element name.
| |
RaiseError |
Raises error event.
|