So I have an excel file. I have a number of formula in the file. I set the calculation mode of the file to Manual. I save the file to a db by converting to a filestream.
var fileStream = new FileStream(path, FileMode.Open);
var binaryReader = new BinaryReader(fileStream);
var bytes = binaryReader.ReadyBytes(convert.ToInt32(new FileInfo(path).Length));
However when I convert it to an Excel file using the Syncfusion tool, the Formula Calculation Mode is always set to Automatic which makes me think that this is lost when saving it to the DB.
Is there another way of converting to Binary that I could use that would maintain this state of the file?