我将此代码转换为Ajax form
时遇到问题。我该怎么做?
@using (Html.BeginForm("", "CollaborativeProjects", FormMethod.Post, new {enctype="multipart/form-data"}))
{
<input type="file" name="FileUpload1" /><br />
<input type="submit" name="Submit" id="Submit" value="Upload" class="btn btn-primary" />
}
答案 0 :(得分:0)