Hi,
Here is a link I think will help you with this issue(
Upload files in ASP.NET MVC with JavaScript and C#.[
^]), it uses ajax to return the file to the server then from there you can take the file and insert into your DB. You have not said what type of technology you are using for you DB connection (ole, odbc, entity) so I can't give you any advice on how to insert this into your DB. You also have not said what type of DB you are using(MS SQL, MY SQL, Access DB, MongoDB etc.). I hope this will help!!