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.

Fri Aug 22, 2008 11:27 pm

Hi All,

This is an urgent requirement and I am trying to export data using the following lines of code:
pdfExport1.SQLCommand = exportCommand;
pdfExport1.SQLCommand.CommandType = CommandType.StoredProcedure;
pdfExport1.SaveToHttpResponse("sample" + ".pdf", Response);
Here i pass a command object and try to export the data to pdf format and it throws me the following exception:

Index was outside the bounds of the array.
TextExport::SaveToStream,var:


Any help in this regard would be highly appreciated.

Thanks,.
IceblueUser

eiceblueuser
 
Posts: 1
Joined: Fri Aug 22, 2008 11:20 pm

Return to Spire.DataExport

cron