AspMVC文件上传

来自站长百科
跳转至: 导航、​ 搜索

导航: 上一页


AspMVC文件上传


<form action="?action=save" method="post" name="rc_brand" id = "rc_brand" enctype="multipart/form-data">

<input type="file" name="companylogo" id="companylogo" />

</form>

Set Company = new ComControl

Company.SetUploadPath = "/Upload/Ad/"

Company.saverc_brand(Request)

  • 说明:上传组件我们采用第三方无组件上传.封装在了C层 Help里. 其中 Company.SetUploadPath ='/Upload/Ad/' 是您要上传的路径.请以/结尾