摘要:
public ActionResult upload2()
{
try
{
HttpFileCollectionBase files = Request.Files;
for (int iFile = 0; iFile files.Count; iFile++)
{
HttpPostedFileBase postedFile = files[iFile];
string fileName = System.IO.Path.GetFileName(postedFile.FileName);
if (!string.IsNullOrEmpty(fileName))
{
postedFile.Sav 阅读全文