'Content of <input type=file> to SQL Server

Good afternoon.

In javascript, I have filled an input type=file multiple with different images. My question is how can I now send these images to store them in SQL Server?.

This is my code generated in html by javascript, and I don't know how to go through the <input> image by image to treat it in bytes and store it in an image field of the SQL Server table

enter image description here

I would appreciate if you could tell me in an example how to treat it on the server side to store it. Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source