gridview - Exporting multiple Grid Views on a page to mutiple worksheets of a single excel file in ASP.Net -


i know there quite few techniques export grid view excel. below few:-

  1. html rendering htmltextwriter , sending response content type excel.
  2. using xml technique , generating xml string excel sheets.
  3. using office interop dlls create object excel document , work on accordingly.

now requirement is, have multiple grid views on aspx page , these grid views loaded different data sources. have export button, have export each grid view separate work-sheet of single excel file.

this can done using second , third techniques mentioned above. want know possibility of using first technique i.e. using htmltextwriter

you can using open xml

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5124

http://openxmldeveloper.org/


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -