Back to Devexpress

GridControl.ExportToCsv Method

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

latest1.8 KB
Original Source

GridControl.ExportToCsv Method

NameParametersDescription
ExportToCsv(Stream, CsvExportOptions)stream, optionsExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in CSV format using the specified options.
ExportToCsv(Stream)streamExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in CSV.
ExportToCsv(String, CsvExportOptions)filePath, optionsExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in CSV format using the specified options.
ExportToCsv(String)filePathExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in CSV format.