Thread: Listing 12-1
View Single Post
  #3 (permalink)  
Old August 16th, 2007, 09:10 AM
cJeffreywang cJeffreywang is offline
Friend of Wrox
Points: 630, Level: 9
Points: 630, Level: 9 Points: 630, Level: 9 Points: 630, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Austin, TX, USA.
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks.

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.

TIA,
jeffrey