Issue using C1DataGrid export file csv

Posted by: lukirito15 on 12 July 2018, 10:29 pm EST

  • Posted 12 July 2018, 10:29 pm EST

    Hi all and GrapeCity support team,
    I want export CSV file from C1DataGrid but i found in C1 allow export file exel not allow CSV.What is solution export file csv from C1Datagrid or have any method fix issue?
    Thanks for support.
  • Marked as Answer

    Replied 13 July 2018, 4:25 am EST

    Hi,

    To export C1DataGrid to CSV format you need to use C1XLBook class and then use its Save method passing FileFormat as Csv. Attached is a simple demo application for illustration.

    Thanks,
    Ruchir
    C1DataGrid_Export.zip
  • Replied 16 July 2018, 5:32 am EST

    Hi Ruchir.Agarwal,
    Thanks for support for me !
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels