Dim i As Integer
Dim myUpoad As FileUpload
For i = 1 To 5
myUpoad = Me.FindControl("fiUpload"&i)
If myUpoad.HasFile Then
myUpoad.SaveAs(Server.MapPath("Myfiles/"&myUpoad.FileName))
Me.lblText.Text = Me.lblText.Text & System.IO.Path.GetFileName(myUpoad.FileName) & " Uploaded.<br>"
End IF
Next