GetValue
Previous Top Next

Returns the value of the specified field in the current row.
Syntax: GetValue (Index As Int32) As String

Example:
Cmd.CommandText = "SELECT * FROM Products"
Reader.Value = Cmd.ExecuteReader
Do While Reader.ReadNextRow = TRUE
      ListBox1.Add(Reader.GetValue(0))
Loop
Reader.Close