Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataGridExportExtensions.ExportToXlsxAsync Method

Name Parameters Description
ExportToXlsxAsync(DataGridView, Stream, XlsxExportOptions) static grid, stream, options Exports DataGridView data to a stream in XLSX format with the specified export options.
ExportToXlsxAsync(DataGridView, Stream) static grid, stream Exports DataGridView data to a stream in XLSX format.
ExportToXlsxAsync(DataGridView, String, XlsxExportOptions) static grid, filePath, options Exports DataGridView data to XLSX format with the specified path and export options.
ExportToXlsxAsync(DataGridView, String) static grid, filePath Exports DataGridView data to XLSX format with the specified path.