Objects are no program flow but objects. They have to be available in the
scoop of the project where you are using it, which is forever in or one
level higher than the used scope. The most change you have in this case for
your not instanced OleDbCommand object which you have probably created in a
try block but that we cannot see.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.