Codings collected
Blog Archive
►
2009
(5)
►
April
(2)
►
March
(2)
►
February
(1)
▼
2008
(13)
►
September
(2)
►
August
(1)
▼
July
(1)
File Upload
►
June
(3)
►
April
(3)
►
March
(2)
►
January
(1)
About Me
Gurpreet Singh
View my complete profile
Tuesday, July 1, 2008
File Upload
Label1.Text = "File Name : " & FileUpload1.FileName
Dim i As Integer = FileUpload1.PostedFile.ContentLength
Label2.Text = Math.Round(i / 1024, 2) & "KB"
FileUpload1.PostedFile.SaveAs(Server.MapPath("~/images/") & FileUpload1.FileName)
Newer Posts
Older Posts
Home