0

i have in excel file f1.xlsx like

a b

image 1 banane

image 2 pomme

i wanted to read to file in c sharp (c#) and convert image to Base64 could you help me please

mn221
  • 1
  • You can use VSTO to develop an Excel Add-In which would make accessing .xlsx files easier for C# try learning that first and when you have some problems. Lookup some VBA (Excel macros) materials how to manipulate Excel spreadsheets programmatically – Piotr Golacki Sep 23 '21 at 15:52
  • also it is expected from the person who asks questions to do some research first and try things, what have you tried so far? – Piotr Golacki Sep 23 '21 at 15:53
  • Please provide enough code so others can better understand or reproduce the problem. – Community Oct 01 '21 at 07:13

1 Answers1

0

You can use ClosedXML for reading excel files.
You can write a loop to iterate the rows and access each column of your excel files and cast them to anything you want.
For base64 encoding and decoding, Check this out : Base64 encode/decode

  • Thanks for your response just can your right me an exemple with code please; I am new developer in c Sharp. thanaks for your help – mn221 Sep 24 '21 at 12:23