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

New Post: Input string was not in a correct format when reading cell value

$
0
0
Hi,
Gettting "Input string was not in a correct format" exception when reading value from cell.
Also tried "GetDouble()" as this cell contains formula that returns number, but the same exception is thrown.
var requestedFundingStr = worksheet.Cell("C6").GetString();
File that is causing this error - file download link

ClosedXML version 0.68.1.0, DocumentFormat.OpenXml version 2.0.5022.0

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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