上传文件的经典写法:
<form id="uploadform" action="/Home/UploadFile" method="post" enctype="multipart/form-data"> <input type="file" name="uploadfile" /> <input type="submit" value="上传" /> </form>
上传文件的经典写法:
<form id="uploadform" action="/Home/UploadFile" method="post" enctype="multipart/form-data"> <input type="file" name="uploadfile" /> <input type="submit" value="上传" /> </form>
内容版权声明:除非注明,否则皆为本站原创文章。