File Upload uisng Jquery in C# ASP.Net MVC
 There so many ways to upload files with jqueries in ASP.Net C#. One way is with creating XMLHttpRequest and another way is with FormData object.  In this post i'll show uploading files and saving form data in one ajax call using jquery.    Upload Files with Jquery in ASP.Net MVC C#   First code for View which represents normal html code of form  @model modelname         File Upload      File    @Html.TextBoxFor(m => m.File, new { @type = "file", @multiple = "multiple" })    Field 1    @Html.TextBoxFor(m => m.Field1, new { @class = "form-control datepicker" }) @Html.ValidationMessageFor(m => m.Field1)       Submit       MVC Controller Code for Saving File   In controller create action method with two arguments one is for formdata and another one is for List of HttpPostedFileBase Class which represents multiple files that you select.   public JsonResult SaveFilesWithFormData(ModelName FormData, List Of HTTPPostedFileBase Files) //Model Name rep...