P
Paul [Paradise Solutions]
Hey All
Having a slight problem with SQLCE ans parameters, was wondering if
anyone could shed some light on its cause.
I set up a SQLCECommand object, with 4 parameters. Parameters are
populated in the correct order.
When I attempt to Prepare or ExecuteNonQuery, I get the error of
"Invalid Operation Exception, resource could not be found." - I've seen
mention of this on a post that said System.SR.dll needs to be on the
device. There is a reference to it in my project, and I copied it to
the working dir on the PDA as well. That strange thing is that the code
that triggers the error is inside a Try-Catch, but it does not get caught.
The only thing that might hint at a cause it that when I view any of the
parameters in the command window, the 'Source Column' is not populated -
should it be? (I've not seen code in examples to say that it should be)
Any suggestions and/or input apprieciated.
Paul
Having a slight problem with SQLCE ans parameters, was wondering if
anyone could shed some light on its cause.
I set up a SQLCECommand object, with 4 parameters. Parameters are
populated in the correct order.
When I attempt to Prepare or ExecuteNonQuery, I get the error of
"Invalid Operation Exception, resource could not be found." - I've seen
mention of this on a post that said System.SR.dll needs to be on the
device. There is a reference to it in my project, and I copied it to
the working dir on the PDA as well. That strange thing is that the code
that triggers the error is inside a Try-Catch, but it does not get caught.
The only thing that might hint at a cause it that when I view any of the
parameters in the command window, the 'Source Column' is not populated -
should it be? (I've not seen code in examples to say that it should be)
Any suggestions and/or input apprieciated.
Paul