Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Closing a ClosedXML generated Workbook.

$
0
0
It should work as is because ClosedXML only locks the file when it reads or writes to it.

First try getting rid of all those .Dispose(), they're not doing anything in your case.

If that doesn't work you could try putting the workbook/file creation and the file delete in two different functions, then call both from the click event.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>