| 如何使用asp上传HTML5 单input多文件 |
z7n4Ok http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. 1AgQb4 http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count D9wEHw http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then 2faa1F http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" leUc3s http://blog.numino.net/ End if COub3x http://blog.numino.net/ Next bCMFXy http://blog.numino.net/ It might be worth trying the same approach - ie: 41z8aD http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count V6ruu4 http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then l7DGI7 http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" 6yz6Ft http://blog.numino.net/ End if SR2vl5 http://blog.numino.net/ Next LQsaMR http://blog.numino.net/ Because there's a third party component involved it may complicate things so I can't guarantee this will work. Check the component's documentation if it is available, particularly with respect to counting the number of files uploaded. xb91UK http://blog.numino.net/
|
|