Skip to main content
A newer version of this page is available. .

DataGridExportExtensions.ExportToTextAsync Method

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