Hello All,
I deleveoped a web page to upload videos to my DB but when I click upload it's showing error
This webpage is not available
and I have tried to upload image from same code and it's worked!!
this is my code
Private Function uploadVideo() As String
Dim ext As String
Dim tik As String = Now.Ticks.ToString
Dim Videourl As String
If upVideo.HasFile Then
ext = upVideo.FileName
ext = ext.Substring(ext.Length - 3, 3)
upVideo.SaveAs(Server.MapPath("") & "\video\" & tik & "." & ext)
Videourl = tik & "." & ext
End If
Return Videourl
End Function
Go to the complete details ...