Dim CONTROLLA2 As New System.Data.OleDb.OleDbCommand()
CONTROLLA2.Connection = con
CONTROLLA2.CommandText = "select * from UTENTI WHERE USER='agenzia1' "
Dim dr As System.Data.OleDb.OleDbDataReader
dr = CONTROLLA2.ExecuteReader()
'Dim LEGGI2 As System.Data.OleDb.OleDbDataReader
'LEGGI2 = CONTROLLA2.ExecuteReader()
'Dim VEDI As Integer = LEGGI2
lbl_1.Text = dr("PERMESSO")
Quando eseguo questa query con access mi da il valore desiderato, mentre facendolo in vb net ottengo un messaggio che mi dice che non trova nessun valore per quella colonna..
Un piccolo aiutino grazie
dora