Even after updating question with code snippet, it looks incomplete and does not makes much sense on what you say.
Look here on how to use DataReader to fetch data from database:
Using connection
Dim command As SqlCommand = New SqlCommand( _
"SELECT CategoryID, CategoryName FROM Categories;", _
connection)
connection.Open()
Dim reader As SqlDataReader = command.ExecuteReader()
If reader.HasRows Then
Do While reader.Read()
Console.WriteLine(reader.GetInt32(0) _
& vbTab & reader.GetString(1))
Loop
Else
Console.WriteLine("No rows found.")
End If
reader.Close()
End Using
Refer:
Retrieving Data Using a DataReader (ADO.NET)[
^]
DataReader Class[
^]