1 @using (Html.BeginForm("Student", "Excel", FormMethod.Post, new { enctype = "multipart/form-data" })) 2 { 3 4 <div style="margin-top: 20px;"> 5 <fieldset id="myfieldset1"> 6 <legend>学生信息导入</legend> 7 <p> 8 选择文件:<input id="FileUpload1" type="file" name="files" style="width: 250px; height: 24px; 9 background: White" class="easyui-validatebox" /></p> 10 <p> 11 <input id="btnImport1" type="submit" value="导入" style="width: 60px; height: 28px;" /></p> 12 <p style="color: Red; text-align: center;">@ViewBag.errorstu</p> 13 </fieldset> 14 </div> 15 }
相关文章: