How to create Single/Multiple Worksheets Workbooks from an ASPX page.
This sample illustrates how to export data from an ASP.NET page.Click here to run the demo
Click here to download
the full demo.
The Access Northwind database is included in the package.
This tutorial assumes you have already installed the GridviewToExcelExportTool.
The full process is made up of following steps:
- First step is the Web Site creation - choose C# as a language
- Second step is to add a reference to the GEETMultisheet30.dll inside the C:\Program
Files (x86)\Cefalà Ing. Ettore\GridviewExcelExportTool\3.0.0\GEETBin folder
for 64bits systems or C:\Program Files\Cefalà Ing. Ettore\GridviewExcelExportTool\3.0.0\GEETBin
for 32 bits systems.
- Replace xhtml code of your default.aspx page with next one:
-
Replace c# code of default.aspx.cs file with next one:
- Press F5 to run the web page.
Click here to run
the sample from this server
For any info please write to info@gridviewtoexcel.com
|