I have a stored procedure that deletes a record in db. I created a DataSet
(xsd) which auto-generated code for a table adapter. The adapter's select,
insert, update, and delete methods work fine except for one 'minor' problem
with Delete(). The method returns -1 although it does the job - i.e.
deletes a record from database.
Could someone please explain what a possible cause might be? I could ignore
the return value but then I would not be able to detect the true failure.
Also, I'm not sure if this is a sign of some other and more serious
problems.
Thanks,
Bogdan
"bogdan" <bog...@nospam.com> wrote in message
news:O6HTsNKq...@TK2MSFTNGP05.phx.gbl...
The stored proc works from outside of asp.net (command line, studio, another
non-asp.net app).
No warnings/errors when executed from the studio.
Could you elaborate on "... calling the proc with the wrong type..." ?
Again, what is weird is that the call succeeds - i.e. the target record is
deleted from the database.
Thanks,
Bogdan
"OHM ( One Handed Man )" <m...@myplace.com> wrote in message
news:%23zQ75GL...@TK2MSFTNGP02.phx.gbl...
"bogdan" <bog...@nospam.com> wrote in message
news:Osj8SdLq...@TK2MSFTNGP03.phx.gbl...
Thanks,
Bogdan
"OHM ( One Handed Man )" <m...@myplace.com> wrote in message
news:uwXcPiLq...@TK2MSFTNGP06.phx.gbl...