G
Guest
Hi all,
I have developed a pretty straightforward web app which displays the results
of a query in a datagrid.
I want to provide a "Download as csv" link, but want to generate this
without having to requery the database.
What's the best way to persist the underlying datatable? It's running on an
intranet and even then not that often. The datatable is around 1000 rows.
Current ideas include passing in viewstate, storing in session or generating
a temp file to serve. What are the pros and cons, and if possible
implementation tips?
Spammy
I have developed a pretty straightforward web app which displays the results
of a query in a datagrid.
I want to provide a "Download as csv" link, but want to generate this
without having to requery the database.
What's the best way to persist the underlying datatable? It's running on an
intranet and even then not that often. The datatable is around 1000 rows.
Current ideas include passing in viewstate, storing in session or generating
a temp file to serve. What are the pros and cons, and if possible
implementation tips?
Spammy