Ciao non riesco a capire cosa non va nella funzione qui sotto.
Non ho nessun errore ma mi inserire solo (tipo) e non anche (desc)
I campi nel db sono a posto.....mistero
Qualche suggerimento?? potrebbe essere un problema di Access??
codice:


Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim Connection As New Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=" & Server.MapPath("App_data/fotogallery.mdb"))

        Connection.Open()

        Dim Command As New OleDbCommand("INSERT INTO foto(tipo,desc)VALUES(@tipo,@desc)", Connection)
        Command.Parameters.Add(New OleDbParameter("@tipo", tipo.Text))
        Command.Parameters.Add(New OleDbParameter("@desc", desc.Text))

        Command.ExecuteNonQuery()


        Label1.Text = "ok."
        
     
        Connection.Close()

    End Sub