Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to export data from gridview for that i have used StringWriter, but my problem is i am using colspan and rowspan in gridview as neccesity. Data is exporting to excel but not correct. It is due to the colspans and rowspans. The exported data in excel in not catching the colspans and rowspans.

No any tool or controls can be used for this export.

Anybody knows the solution...
Posted
Updated 15-Mar-12 4:08am
v2
Comments
Herman<T>.Instance 15-Mar-12 9:51am    
have you tried using the RenderControl method of the Gridview when exporting to Excel?
san83deep 15-Mar-12 10:10am    
yes i'm using renderControl method

Check this out:
Report in all formats[^]
 
Share this answer
 
you can allways use this[^].
 
Share this answer
 
 
Share this answer
 

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