Thanks dparsons for Ur comments .. but i want to add more points
Ur link
http://SteveOrr.net/articles/ExcelExport.aspx
showed me the way to create excel in many ways but as "steve" says all ways of creating excel won't suit everyone .. tht's what has happened to me ..
there are two methods which use the Response object to create excel but creating excel in that way pops up the mssg asking the client to save or open .. this is my problem because i want want to client to know that there is a excel that is getting created and i want all the stuff to be in the back ground :-(
And finally the Excel.Application also failed..
can U just suggest me a good way to derive meaningful error messages from this exception.. currently i log the error mssg in a text file but it's helping me no where
even the stack trace is not helping me .
and Ur suggestion for Application() instead of applicatioclass() .. here my point of argument is why use "Application" if it's in turn gonna use application class
thanks @ regards
Deepak