executescalar on SQL connection

  • Thread starter Thread starter Darin
  • Start date Start date
D

Darin

I have a routine that does an executescalar and we only use it for
INSERT/UPDATE/DELETE statements just to store the number of records
affected. Everything works fine, except now on ONE customer's PC, it is
returning a -1, and i can't figure out why. All the other PC's in their
office are returning the correct count - most of the time 1, but
sometimes 15 or so for example. This one PC, 90% of the UPDATE lines are
returning a -1.
Any ideas as to why? If it doesn't update any record, it has always
returned a zero. She is SAYING that there are no errors on her computer.

Darin
 
If you are deploying the app with "Click Once", (or even not with Click
Once) you may want to fully uninstall the app from Add/Remove Programs.
Then reinstall the app. Make sure you are loading the correct version
of the app.

Rich
 

Ask a Question

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.

Ask a Question

Back
Top