Datagrid Export to Excel
Hi Experts,
I am held up with a problem. I have a datagrid in my aspx search page and I also have an "Export to Excel" button both of which will be displayed when a valid search is made. I have the following code written in my Export Button click event.
The grid contains LinkButtons inside one of the Template Columns and other bound columns.
when I export the grid to excel, I get the correct output the first time. However, if the grid data changes, I am not getting the changed result in the excel. The old data is retained all the time. If i reset the IIS and then do a fresh query, I get the correct result.
Can anyone please help me solve this issue.
Thanking in advance
Regards
Ganesh
__________________
Regards
Ganesh
http://ganeshprof.blogspot.com
Find your solution here...
|