How to close Excel from ASP.NET
Using COM objects in ASP.NET is a hell, while it comes to releasing memory. After; creating excel object and using it, just saying exlobj=nothing wont help. Instead we need to use System.R
ITPro Today
February 2, 2004
1 Min Read
Using COM objects in ASP.NET is a hell, while it comes to releasing memory. After; creating excel object and using it, just saying exlobj=nothing wont help. Instead we need to use
System.Runtime.InteropServices.Marshal.ReleaseComObject(wsheet);
For explicitly releasing the object.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like