Ankit Singh
Total Post:341
Points:2389
I want to upload file in asp.net mvc. How can I upload the file using html input file control?
Total Post:341
Points:2389© Copyright © 2010 - 2018 MindStick Software Pvt. Ltd. All Rights Reserved
Post:134
Points:940Re: How to Upload File in ASP.NET MVC 3.0?
You don't use a file input control. Server side controls are not used in ASP.NET MVC.
So you would start by creating an HTML form which would contain a file input:
and then you would have a controller to handle the upload: