P
Paul D. Fox
I have a page displaying a datagrid and the user wants to have two options:
1. Export the current "Displayed" datagrid to Excel
2. Export another Datagrid very similar to the first, but with many
additional columns
I'd like to run just one stored procedure and populate both datagrids on the
page, however in order to get the second datagrid to Export to Excel, I have
to make it "Visible" (the user doesn't need to see it). My work-around is
to re-run the stored proc on the LinkButton event of the export to Excel and
then export it. Is there a way I can do this without running the stored
proc twice?
Paul
1. Export the current "Displayed" datagrid to Excel
2. Export another Datagrid very similar to the first, but with many
additional columns
I'd like to run just one stored procedure and populate both datagrids on the
page, however in order to get the second datagrid to Export to Excel, I have
to make it "Visible" (the user doesn't need to see it). My work-around is
to re-run the stored proc on the LinkButton event of the export to Excel and
then export it. Is there a way I can do this without running the stored
proc twice?
Paul