Tuesday, 30 April 2013

Uploading file directly to database using mvc

hey friends back again with MVC .

we have a portal where use can upload a file and from that file MVC application will get data and 
currently we have a requirement where we have to Upload the file that will be in .xls excel format.
we implemented it Upload the file and save it on server then from that location we can read it in byte stream and save into database.

but the problem is our architect is not giving the write permission on server :(:(
 so do we have any solution where we can directly save the content to database and read it from there .

if yes please update in comments.

Found one link

http://forums.asp.net/t/1808216.aspx/1?Help+On+File+Upload+to+database+in+MVC

i have not yet tested it hope it works .

No comments:

Post a Comment