|
<input type = "file" id = "file1" runat = "server">
Dim filename, filepath As String
filename = Path.GetFileName (file1.PostedFile.FileName)
filepath = Server.MapPath ("upload\news\")&filename
uploadfile.PostedFile.SaveAs (filepath)
Label1.Text = "Upload successful!" |
|