I have developed a web application in asp.net 2.0 with
Access as back end i am trying to gereate report/export
data in excel. After hosting the site i am not getting any
error or such exported excel file. but using the source
code from my system it works fine.
Could any one tell me why it is happening and what is its
solution.
Answer Posted / shrikant
Could you please let me know what error you are facing?
The most possible error while exporting data thru asp.net
is COM exception.
Use reflection to achieve this, whenever we use Microsoft
com component line MS-Excel we do code for any particular
version instead use generalize way for handling excel or
any other MS component.
Please refer:
http://www.codeproject.com/KB/cs/Simple_Excel_Automation.asp
x
http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?
ThreadID=49886
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is postback request?
How about the security in Activex DLL and Activex EXE ?
What is difference Between Authentication and authorization?
Do I need to have the latest version of windows media player installed?
What is view state management in asp net?
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
What is the use of global.asax file?
What is the main difference between Asp.net and Vb.net?
Explain about asp.net 2.0 themes?
What is server side session management?
Difference between application events and session events
5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?
What is a query string in a url?
What is ispostback property?
What is the use of worker process in asp.net?