Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I used source code from the following link to export the data to Document but unable to get the data from gridview.
How to convert GridView data to Excel, PDF, Word file using C#[^]
Posted
Updated 22-Aug-12 2:00am
v4
Comments
bbirajdar 22-Aug-12 7:23am    
I remotely read your mind and your code too.. There are some mistakes in your code that need to be corrected...
RAKESH CHAUBEY 22-Aug-12 10:49am    
I Tried The Same Code And It Did Worked Fine . You Got to Check Two thing Your Connection String and Bind Values .

Might Be You Must be Missing Some Bind Values .Post u r mail I will send U the Code
V B B Ramoji Rao 23-Aug-12 1:53am    
I've solved this by EnableEventValidation to "false" in the page property
RAKESH CHAUBEY 23-Aug-12 5:49am    
Oh .There It was .. Have Fun

The articles have authors, who will respond to questions on the forum under the article. If that does not work, we didn't write the article, and without seeing your code, have no way to help you.
 
Share this answer
 
Hi Friend ,

check this webite, http://www.aspdotnet-suresh.com/[^]

in that website goto excelsheet which has been listed in the right-side.click it.

i think you will find, exactly what you need there
 
Share this answer
 
frend,

do debug that is the only way.
spend time on it.
 
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