How to use FormData for AJAX file upload?

后端 未结 9 1356
不思量自难忘°
不思量自难忘° 2020-11-21 06:13

This is my HTML which I\'m generating dynamically using drag and drop functionality.

9条回答
  •  滥情空心
    2020-11-21 06:47

    View:
    
    
    Controller:
    [HttpPost]
            public ActionResult ControllerX(string id)
            {
                var files = Request.Form.Files;
    ...
    

提交回复
热议问题