Force EPPLUS to read as text

后端 未结 2 1344
猫巷女王i
猫巷女王i 2021-01-17 16:27

I\'m developping an application to read xlsx files, do some validation and insert into database. Unfortunatelly when I try to read columns marked as numeric (fe with EAN-13

2条回答
  •  我在风中等你
    2021-01-17 16:52

    The cells in your file are custom-formatted as a fraction. Have you done this on purpose? Anyway, if you want to keep this format, you can alternatively use cell.Value or cell.RichText.Text to get your 13-digit number.

    Hope this helps.

提交回复
热议问题