Click or drag to resize
DataExportHelper Methods

The DataExportHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateColumnName
Creates column name from column number ("1" -> "A")
Public methodStatic memberCreateColumnReference
Creates column reference from column and row numbers.
Public methodExportData(DataExportFormatEnum, Stream)
Exports data stored in DataSource property, writes it to given stream.
Public methodExportData(DataExportFormatEnum, HttpResponse)
Exports data stored in DataSource property, writes it to given response.
Public methodExportToCSV(DataSet, Int32, Stream)
Exports specified table of given DataSet to CSV format.
Public methodExportToCSV(DataSet, Int32, Stream, Boolean)
Exports specified table of given DataSet to CSV format.
Protected methodGetColumnCaptionText
Gets a caption for given column name.
Protected methodGetColumnIndex
Gets index of a column corresponding to columns actually selected to export.
Public methodStatic memberGetColumnName
Returns name of column from given cell reference (ex. "B4" -> "B")
Public methodStatic memberGetColumnNumber
Gets number of given column name ("A" -> "1")
Public methodStatic memberGetDataExportFormatContentType
Returns content type for given format.
Public methodStatic memberGetDataExportFormatEnum
Returns DataExportFormat enum.
Public methodStatic memberGetDataExportFormatString
Returns DataExportFormat string.
Protected methodGetExportedColumns
Gets columns that should be exported.
Protected methodGetExportedData
Gets the DataSet with the formatted exported data
Protected methodGetExportedValue
Gets the exported value for the given
Public methodStatic memberGetRowNumber
Returns number of a row from given cell reference (ex. "B4" -> "4")
Protected methodGetXMLElementName
Normalizes header text to be usable as element name.
Protected methodRaiseError
Raises error event.
Top
See Also