locked
can t save flv in my folder RRS feed

  • Question

  • User-656010581 posted

    hi,

    i m using asp.net 2005 with access 2003. with the fileupload control, i can store the vlc player in my folder by using tis code

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
            If FileUpload1.HasFile Then
                FileUpload1.SaveAs(Server.MapPath("upload/" & FileUpload1.FileName))
                Label1.Text = FileUpload1.FileName.ToString
                con.Open()
                Dim dat As String
                dat = Now()
                Dim cmd As New OleDbCommand("insert into filenms values('" & Label1.Text & "','" & dat & "' ) ", con)
                MsgBox("Updated")

                Try
                    cmd.ExecuteNonQuery()
                Catch ex As Exception
                    MsgBox("type correct Text and not updated")
                End Try
            End If

        End Sub

      

    but it is showing me

    " The page cannot be displayed ". how can i store flv songs in my folder. help me!!!

    Monday, August 16, 2010 11:31 PM

All replies