Spire.DataExport for .NET is a 100% pure data .NET library suit for exporting data into MS Word, Excel, RTF, Access, PDF, XPS, HTML, XML, Text, CSV, DBF, SYLK, SQL Script, DIF, Clipboard, etc.

Thu Feb 17, 2011 9:47 am

I want to use Spire.DataExport to control the data source with SQL command. How can I realize it?

tom
 
Posts: 14
Joined: Tue Nov 30, 2010 7:21 am

Tue Feb 22, 2011 3:32 am

You can use the code:
System.Data.OleDb.OleDbCommand oleDbcommand1 = new System.Data.OleDb.OleDbCommand();
And write SQL command in oleDbcommand1.
e-iceblue support
User avatar

iceblue support
 
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.DataExport