I have 3 more questions.
1. I am using the Listing 12-1 as an inline code for
a stored procedure. After solving the List(Of String)
error, I have another error on "Return returnData" -
'Return' statement in a sub or a set cannot return a value,
even after I added one more line,
Cmd.CommandType = CommandType.StoredProcedure.
2. Any other ways to access data through DataReader object.
3. Moving the mouse showed only the error statement. Right click
after the g or ) did not show an error correction hint.