APNSoft.com - Web Controls, components for ASP.NET
 About Us 
 Articles 
 Products
 Downloads 
 Purchase
 Support

DataGrid
Controls Suite 4.5


Overview
Features
Reference Book
Live Demos
Populating with Data
Columns
Rows
Row uniqueness
Alternating rows
Hovered row
CSS Formatting
Client-side selection
Server-side selection
Filtering
Exporting
Insert/Update/Delete
Cell editing
Fixed (Summary) row
Appearance & Layout
Behavior
Bottom Bar
Application scenarios







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.



Code Samples:


© 2003-2024 APNSoft. All rights reserved.    Terms of use.