Export Grid Data to CSV format
BCGControlBar Pro (MFC)
BCGSuite (MFC)
BCGControlBar for .NET
The Grid allows exporting its data to CSV (Comma Separated Value format). This functionality provides an easy and efficient way to exchange the data between the Grid control and any external data sheets such as MS Excel.
Sample code:
CBCGPGridCtrl m_wndGrid;
// Set ',' as separator:
m_wndGrid.SetExportTextSeparator(CBCGPGridCtrl::Format_CSV, _T(","));
// Copy grid data to the clipboard in CSV format:
m_wndGrid.CopyCSV();