MiniExcel icon indicating copy to clipboard operation
MiniExcel copied to clipboard

How to overwrite exists file when using SaveAsAsync

Open ahdung opened this issue 4 years ago • 2 comments

Is there any configuration? or delete it by myself?

ahdung avatar Oct 21 '21 08:10 ahdung

You can use Stream:

var stream = File.OpenWrite(fileName);
MiniExcelLibs.MiniExcel.SaveAs(stream, data);

gius avatar Mar 02 '22 16:03 gius

...and it's already mentioned in the readme - check the last Q&A,

gius avatar Mar 02 '22 16:03 gius