title: how to store sql query value into array
body: <pre><code>Dim sql As String = "Select ProductID From OrderDetail Order By ProductID Desc"
      Dim command As New SqlCommand(sql, connection)
      Dim reader1 As SqlDataReader = command.ExecuteReader()
  </code></pre>
  
  <p>How do i store all the productid that i have retrieve into an array?</p>