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.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |