用asp+实现文件上传

---（文/飞鸟）
用asp+实现文件上传
来源：http://www.aspfree.com/asp+/demos/uploadsyntax.aspx
运行下面的程序，上传一个jpg,然后看看效果。
upload.aspx
--------------------------------------------------------------
<html>
<script language="VB" runat=server>
Sub UploadBtn_Click(Sender as Object, E as EventArgs)
UploadFile.PostedFile.SaveAs(Server.MapPath("test.jpg"))
MyImage.ImageUrl = "test.jpg"
MyImage.Visible = true
End Sub
</script>
<body>
<form enctype="multipart/form-data" runat=server>
<h3>
Select File To Upload: <input id="UploadFile" type=file runat=server>
<asp:button Text="Upload Me!" OnClick="UploadBtn_Click" runat=server/>
<hr>
<asp:image id="MyImage" Visible=false runat=server/>
</form>
</body>
</html>
--------------------------------------------------------------
ASP+真的很Cool, hehe 以后不用俺写什么文件上传组件。。。
555，chinaasp fileup要失业了。