No.
Problem was with a CurrentCulture. I'm from Russia, and with my culture this code don't work. Solution of my problem:
Problem was with a CurrentCulture. I'm from Russia, and with my culture this code don't work. Solution of my problem:
private DataTable xlsxToDT(string fileName)
{
var prevCulture = Thread.CurrentThread.CurrentCulture;
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
try
{
// Mine code here
}
finally
{
Thread.CurrentThread.CurrentCulture = prevCulture;
}
}