Controls Suite 4.5
Populating with Data
Appearance & Layout
APNSoft DataGrid can export the data to Microsoft Excel format or HTML by clicking on the "Export to Excel" ("Export to HTML") button on the bottom bar. The property Exportable specifies the value indicating whether the column data will be exported or not. The property ExportFileName specifies the name of the file that is the data to export.
Also, DataGrid has support to export data to custom format. This example demonstrates how to export data to PDF (by using the free iTextSharp library) and Image. To export data to custom format you use the event-handling method for the ExportCustom event.