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