You are accessing the object out side of the struct, right?
What is the code that you are using to call the struct?
It appears you are trying to get a fieldcount after the UsersReader has been closed.
Try doing the close after you open the reader in a seperate method, something like below.
OR
Just a thought.
Open the connection in a method
Get the Data in another method
use the data in a method
Close the connection in a method
-->Shawn
>Shawn;
>
>That produces the following error: "Invalid attempt to Fieldcount when reader is closed". Thank you for the attempt. This is a real learning experience. When I get through I will know a few things! :)
>
>Tom