Im using this code !
cmd = New OleDbCommand("select * from RoomTypeA", con)
conreader = cmd.ExecuteReader
Do While conreader.Read
If conreader.Item("TimeEnd") = Me.TextBox6.Text Then
Me.RTypeListA.Items(0).Selected = True
i want to select the item in listview that has the same TimeEnd with textbox6..
this code works properly but the onet that has been select is the top item in list but
the item that should be selected is on the the third line....
please help me to solve this....