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.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Mahesh ChandRank #1 · 393.4K reputationPosted May 8, 2008, 3:53 AM EDT
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.