Hi! I'm not a VB expert, but I noticed that you're creating your 
myCommand and myDataReader objects within the 'If Not 
Page.IsPostBack...' code block. 

You may be running into a scoping issue, meaning that the 
myDataReader object is declared locally but is only accessible 
within the block of code where it's declared. Once you get outside 
of the IF, it's no longer accessible. 

Try moving the DIMs up so that they're below the first DIM (outside 
of the IF).

Hope that helps!
Ray






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to