mercredi 11 mai 2016

Downloading files from MySQL db in mvc

I am working on a website where i'm storing excel files in blob fields in a mysql db. I need for clients to be able to download the files from the database. I am using c# and MVC for the site. what would be the easiest way to do this? I'm thinking about loading the blob into a bytearray and somehow passing the bytearray on but I don't know if this is possible.

Aucun commentaire:

Enregistrer un commentaire