Export a row to excel from grid view
Export a row to excel from grid view and send as attachment and repeat for all remaining rows.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mahesh ChandPosted May 8, 2008, 7:53 AM
What you can do is, to have a hidden GridView on your page that will display "the selected row" only (hidden) and on your Export button, you will have to Export from the hidden GridView that has one row only.
If you automatically want to export all rows one by one, then you will have to load your hidden grid data dynamically. As soon as export is done, load next row and export again and so on.
See GridView Export articles I have written on this site. Try site search for GridView Export.