Click here to Skip to main content
15,886,783 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

In windows application i am generating the report by using crystal reports. when i am trying to export the datas in excel , the records are exporting. but there is no proper alignment.

Now i want the datas in excel with proper alignment and borders and sorting and filters.

Can you please tell me which is the better way acheive it.

please provide me the better solution.

Thanks
Dhanasekaran Murugesan
Posted
Comments
King Fisher 6-Nov-14 6:46am    
Is this Windows Application or Web Forms ?
dhanasekaranm 10-Nov-14 23:27pm    
Yes. its windows application
KaushalJB 6-Nov-14 8:49am    
Instead of exporting from crystal reports. Try inserting your all data into a List or DataSet while printing Crystal Report, and then when you click ExportToExcel use that List/DataSet to achieve export to excel as per you requirements.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900