ili ako radis sa datareader-om (sto ja najvise volim) onda izaberi
Code:
dim veza as new SQLconnection("")
dim kom as new SQLCommand("select ime from moja_tabela where id=123",veza)
dim cit as SQLDataReader
try
veza.open
cit=kom.executereader
cit.read
textbox1.text=cit.item("ime")
cit.close
veza.close
catch ex as SQLException
msgbox ex.message
end try