Ciao ragazzi,
ho un problema con un update di una gridview.

In pratica ho una gridview.
Quando clicco su edit viene caricato un dropdown presente in un edititemtemplate.

Se modifico il valore di questo dropdown e faccio aggiorna è tutto ok, e recupera correttamente il valore.

Se invece non vado a cambiare il valore del dropdown invece di mantenere la scelta mi mette sempre il primo valore del dropdown.

Vi mostro il codice della Sub Updating

codice:
Sub GrdUpdate(ByVal sendere As Object, ByVal e As GridViewUpdateEventArgs)

        Dim ID_ricette, NomeRicetta As String
        Dim NomePortata As DropDownList
        Dim NomePortataSel As String

        If Not e.NewValues(0) Is Nothing Then
            ID_ricette = e.NewValues(0).ToString
            NomeRicetta = e.NewValues(1).ToString

            Dim Index As Integer = GrdRicette.EditIndex
            Dim Row As GridViewRow = GrdRicette.Rows(Index)

            NomePortata = CType(Row.FindControl("DDLPortata"), DropDownList)
            NomePortataSel = NomePortata.SelectedItem.Value

            SqlDSRicette.UpdateParameters.Add("nome_ricetta", NomeRicetta)
            SqlDSRicette.UpdateParameters.Add("ID_ricette", ID_ricette)
            SqlDSRicette.UpdateParameters.Add("id_portata", NomePortataSel)

            SqlDSRicette.UpdateCommand = "UPDATE tab_ricette SET nome_ricetta = @nome_ricetta, " & _
                                        "id_portata = @id_portata WHERE ID_ricette = @ID_ricette"

        End If

    End Sub
Sapete dirmi come mai?
Grazie mille