开发者

Ajax file upload using jquery in asp.net mvc

I have to enter different data in a view which includes a partial view for file upload. I want to achieve uploading file to database without loosing other data in my view. ie. i need to upload a file to database in a byte stream using jquery. How can i achieve this?? Th开发者_JAVA技巧anks for all help in prior.


I would base64 encode the image, and post it to the server that could decode the base64 into a byte blob for the database. That would probably be the path of least pain, both client and server side.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜