代码如下:if (FileUpload1.HasFile) try { FileUpload1.SaveAs(“d:\\luceneData\\” + FileUpload1.FileName); Label1.Text = “File name: ” + FileUpload1.PostedFile.FileName + “” + FileUpload1.PostedFile.ContentLength + ” kb” + “Content type: ” + FileUpload1.Post