Hi All, i want to export my LiteralControl of asp.net to excel workbook but m not able to do it as it is not opening a excel sheet to save but it is showing "Doumnet.aspx" file to save....here i'm giving the code of button click
Amit ChoudharyRank #145 · 15.8K reputationPosted Oct 24, 2009, 1:33 AM EDT
0
Thanks for you quick reply but i dont have grid i have HTML table code in my Literal control so after rendering it i only get the HTML table The code i have given here is after small modification is in running state but new problem came as the exported excel file giving warning when opens it..." The file is not of the correct format to open in excel" but i ignore the error and open it then files opens but no excel type view of the file i found its just seems another type forcely opens in excel...
what to do with that my client is going crazy as m getting late in delivering the product....
I read your post and
totally agree with you.Its nice sharing.web sites are source of information
and this is one of them I book mark it and mail all of my friends to must
check it.
jingeRank #2,527 · 554 reputationPosted Oct 24, 2009, 1:14 AM EDT
http://www.dotnetspider.com/resources/2237-Create-excel-file-from-ASP-NET-datagrid-control.aspx
Amit ChoudharyRank #145 · 15.8K reputationPosted Oct 24, 2009, 1:33 AM EDT
but i dont have grid i have HTML table code in my Literal control so after rendering it i only get the HTML table
The code i have given here is after small modification is in running state but new problem came as the exported excel file giving
warning when opens it..." The file is not of the correct format to open in excel" but i ignore the error and open it then files opens but
no excel type view of the file i found its just seems another type forcely opens in excel...
what to do with that my client is going crazy as m getting late in delivering the product....
any idea??????
jouli parker2 reputationPosted Apr 16, 2010, 9:08 PM EDT