Exporting data from gridview to excel
Posted on October 19, 2007 - Filed Under Uncategorized | Leave a Comment
Sometimes, we come across to a point where we need to export all items displayed in our gridview to excel spreadsheet or to a csv file for reporting purposes or as an attachements for emails, etc.
So in our html page, we should have a gridview and a button named grdSample and btnSavetoExcel.
And put the following [...]