Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

1020


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

898


Explain the difference between authentication and authorization.

1063


How to change Master page in ASP.Net using code?

1069


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

1024


From which base class all web forms are inherited?

979


What is the appSettings Section in the web.config file?

1073


How does u call and execute a sp in .net?

994


How to reduce the width of textbox in editcommandcolumn of datagrid?

1005


What are the 3 levels at which content pages can be attached to Master Page?

1137


Contrast OOP and SOA. What are tenets of each ?

2231


What is syntax code to send email from an asp.net application?

1016


Name the tools or API for developing or testing web api?

950


What is a 307 redirect?

905


What are uri parameters?

1040