Export data (original) (raw)
Export data from a spreadsheet
From the Cells property (ExcelRange) you can access these methods to write:
- and
ToTextAsync- Writes a range to a string in a text file format like csv or tsv. - and
SaveToTextAsync- Writes a range to a text file like csv or tsv. - - Exports data from a range to a
System.Data.DataTable - - Exports data from a range to an
IEnumerable<T>where T is a class. - ToJson - Exports data from a range to Json.
- CreateHtmlExporter - Exports data from a range to html/css.
GetValue<T>- Gets a value, with the option to specify a datatypeValue- Gets or sets the value of the range.