Worksheet export

Technical support for Spire.DataExport

Moderators: iceblue support, DataExport, Manager

Worksheet export

Postby tom » Thu Feb 24, 2011 2:46 am

When I use Spire.DataExport to export data from a database to a worksheet of XLS, it appears an error. I don't know why. Here is my code: Spire.DataExport.XLS.WorkSheet worksheet1 = new Spire.DataExport.XLS.WorkSheet();
worksheet1.DataSource = Spire.DataExport.Common.ExportSource.DataTable;
worksheet1.DataTable = this.dataGridView.DataSource as DataTable;
tom
 
Posts: 14
Joined: Tue Nov 30, 2010 7:21 am

Re: Worksheet export

Postby iceblue support » Fri Feb 25, 2011 3:54 am

When I use Spire.DataExport to export data from a database to a worksheet of XLS, it appears an error. I don't know why. Here is my code: Spire.DataExport.XLS.WorkSheet worksheet1 = new Spire.DataExport.XLS.WorkSheet();
worksheet1.DataSource = Spire.DataExport.Common.ExportSource.DataTable;
worksheet1.DataTable = this.dataGridView.DataSource as DataTable;
e-iceblue support
User avatar
iceblue support
 
Posts: 244
Joined: Tue Dec 21, 2010 2:56 am


Return to Spire.DataExport

Who is online

Users browsing this forum: No registered users and 0 guests

cron