Hi Morison, Thanks for replying.. but fortunately i got the solution solution lies in using nested grid... Am glad i have done it...... thanks
--Here 2 See Sharp-- I have not failed. I've just found 10,000 ways that won't work. :)
thanks a lot steve... this piece of code has made my things so simple.... it works like a charm.... :-D --Naina
--Here 2 See Sharp-- I have not failed. I've just found 10,000 ways that won't work. :)
You are trying to release only the excel object. Whcih actually houses the workbook object which again houses the sheet objects. Just by releasing the excel object the other object may not be releases and the excel object remains in the memory. If you can have a look in this article by antony100 (http://www.codeproject.com/KB/office/ReleaseExcelObject.aspx) He is calling the Marshal.ReleaseComObject(Reference); against workbooks then against the excel object. You will need to do the same to get the excel disposed from the mem.
Thanks Laddie Kindly rate if the answer was helpful