There is an EPPlus library (OfficeOpenXml) that allows you to read these files, but Xamarin does not support it. Are there any analogues for reading this format?

By the way, something like reading cells in EPPlus

using (ExcelPackage xlPackage = new ExcelPackage(new FileInfo(name))) { var myWorksheet = xlPackage.Workbook.Worksheets.First(); //select sheet here var totalRows = myWorksheet.Dimension.End.Row; var totalColumns = myWorksheet.Dimension.End.Column; var sb = new StringBuilder(); //this is your your data for (int rowNum = 1; rowNum <= totalRows; rowNum++) //selet starting row here { var row = myWorksheet.Cells[rowNum, 1, rowNum, totalColumns].Select(c => c.Value == null ? string.Empty : c.Value.ToString()); sb.AppendLine(string.Join(",", row)); sb.Clear(); } } 
  • one
    You need to look towards the base components from Microsoft (Open XML SDK). Just the first example based on it: (Open-Xml-Sdk), I did not find the documentation, but judging by the description, you can take examples from the native Open XML SDK. github.com/wotzisname/open-xml-sdk-xamarin Are you sure you want to process files on your phone, not on the server? - Dev
  • @Dev yes, the task is to open the file on the phone - StriBog

0