ASP.NET实现多文件上传

前台

<script language="javascript">

function addFileControl()

{

var str='<input type=file name=File>'

document.getElementById('FileCollection').insertAdjacentHTML("beforeEnd",str)

}

</script>

</HEAD>

<body MS_POSITIONING="GridLayout">

<form )+fileName);

}

}

strStatus.Text=strMsg.ToString();

return true;

}

catch(System.Exception error)

{

strStatus.Text=error.ToString();

return false;

}

}