DataGrid
Controls Suite 4.5 |
 | Overview |
 | Features |
 | Reference Book |
 | Live Demos |
|  | Populating with Data |
|  | Columns |
|  | Rows |
|  | Appearance & Layout |
|  | Behavior |
|  | Bottom Bar |
|  | Application scenarios |
| |  | Master/Detail Grids |
| |  | CheckBoxes |
| |  | DropDowns |
| |  | Images |
| |  | Update Panel |
|
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.
|