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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also