Salve a tutti
Scusatemi se ho combinato casini...
Vorrei collegare una imagelist ad un databese access in particolare ad un campo immagine. Quest'ultimo è di tipo numerico e vorrei allo scorrere dell'ID che l'immagine cambiasse in corrispondenza della riga selezionata in maniera automatica.
Al livello manuale ci sono riuscito infatti ho implementato un comando cerca:

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
s = TextBox1.Text()
Dim dt As DataTable = FilmDataSet.Tables(0)
Dim k As Integer
For k = 0 To dt.Rows.Count - 1
If s.Equals(dt.Rows(k)(1).ToString()) Then
MsgBox("Trovato")
Label2.Text = dt.Rows(k)(1).ToString()
Label1.Text = dt.Rows(k)(4).ToString()
Label4.Text = dt.Rows(k)(2).ToString()
PictureBox1.Image = ImageList1.Images(dt.Rows(k)(3))
End If
Next k
End Sub

Vi ringrazio in anticipo e scusatemi ancora