How to create a generic method for reading xlsx

Asked

Viewed 32 times

0

I would like to create a method that reads an xlsx file with different data and save according to the given object. Type: Public Reader Object (object Object, file xlsx) { //Implementation }

I have an application where I need to repeat the implementation of the reader to each new object that will be created and this is not cool, but I do not know how to create this model.

  • Do a search on the site, have many questions about it, for example this https://answall.com/questions/240210/como-ler-umficheiro-excel-fazer-o-mapping this does not solve?

  • So, unfortunately not, but I identified a problem that prevents the creation of the generic, anyway there is no way, but thank you.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.