diff --git a/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable.Resources/Properties/AssemblyInfo.cs b/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable.Resources/Properties/AssemblyInfo.cs index c9b6f82..7491b61 100644 --- a/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable.Resources/Properties/AssemblyInfo.cs +++ b/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable.Resources/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión // mediante el carácter '*', como se muestra a continuación: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.4.0")] -[assembly: AssemblyFileVersion("1.3.4.0")] +[assembly: AssemblyVersion("1.3.5.0")] +[assembly: AssemblyFileVersion("1.3.5.0")] diff --git a/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable/Engines/Excel/ExcelImportEngine.cs b/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable/Engines/Excel/ExcelImportEngine.cs index d5420c2..95cde23 100644 --- a/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable/Engines/Excel/ExcelImportEngine.cs +++ b/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable/Engines/Excel/ExcelImportEngine.cs @@ -212,9 +212,9 @@ private bool TryGetNumber(ICell cell, out double returnValue) returnValue = cell.NumericCellValue; return true; case CellType.String: - return double.TryParse(cell.StringCellValue, out returnValue); + return double.TryParse(cell.StringCellValue.Trim(), out returnValue); case CellType.Unknown: - return double.TryParse(cell.StringCellValue, out returnValue); + return double.TryParse(cell.StringCellValue.Trim(), out returnValue); default: return false; } @@ -306,9 +306,9 @@ private bool TryGetBool(ICell cell, out bool returnValue) else return false; case CellType.String: - return bool.TryParse(cell.StringCellValue, out returnValue); + return bool.TryParse(cell.StringCellValue.Trim(), out returnValue); case CellType.Unknown: - return bool.TryParse(cell.StringCellValue, out returnValue); + return bool.TryParse(cell.StringCellValue.Trim(), out returnValue); default: return false; } @@ -347,9 +347,9 @@ private bool TryGetDate(ICell cell, out DateTime returnValue) case CellType.Numeric: return DateTime.TryParse(cell.NumericCellValue.ToString(), out returnValue); case CellType.String: - return DateTime.TryParse(cell.StringCellValue.ToString(), out returnValue); + return DateTime.TryParse(cell.StringCellValue.Trim(), out returnValue); case CellType.Unknown: - return DateTime.TryParse(cell.StringCellValue.ToString(), out returnValue); + return DateTime.TryParse(cell.StringCellValue.Trim(), out returnValue); default: return false; } diff --git a/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable/Properties/AssemblyInfo.cs b/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable/Properties/AssemblyInfo.cs index 132519b..aa9f088 100644 --- a/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable/Properties/AssemblyInfo.cs +++ b/src/Infodinamica.Framework.Exportable/Infodinamica.Framework.Exportable/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión // mediante el carácter '*', como se muestra a continuación: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.4.*")] -[assembly: AssemblyFileVersion("1.3.4.0")] +[assembly: AssemblyVersion("1.3.5.*")] +[assembly: AssemblyFileVersion("1.3.5.0")] diff --git a/src/Infodinamica.Framework.Exportable/NugetReleases/Infodinamica.Framework.Exportable.1.3.5.26099.nupkg b/src/Infodinamica.Framework.Exportable/NugetReleases/Infodinamica.Framework.Exportable.1.3.5.26099.nupkg new file mode 100644 index 0000000..7527eb4 Binary files /dev/null and b/src/Infodinamica.Framework.Exportable/NugetReleases/Infodinamica.Framework.Exportable.1.3.5.26099.nupkg differ