Back to Devexpress

GridControl.ExportToXlsx Method

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-dot-exporttoxlsx.md

latest1.9 KB
Original Source

GridControl.ExportToXlsx Method

NameParametersDescription
ExportToXlsx(Stream, XlsxExportOptions)stream, options

Exports the data the GridControl.DefaultView (GridControl.MainView or the currently maximized detail View) displays to the specified stream in XLSX format using the specified options.

| | ExportToXlsx(Stream) | stream | Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in XLSX (MS Excel 2007) format | | ExportToXlsx(String, XlsxExportOptions) | filePath, options |

Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in XLSX (MS Excel 2007) format using the specified options.

| | ExportToXlsx(String) | filePath |

Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in XLSX (MS Excel 2007) format.

|