> Hi,
>
[quoted text clipped - 11 lines]
>
> thnx
If I've understood you correctly...
In your DataSet designer, right click on the table adapter and select to
add a new query. Follow the wizard, making sure that you select the
option to return a single value (the choice is between returning a
table, a single value, or nothing).
You may need to wrap your return in a select in your SP.
HTH
Peter
active T - 19 Oct 2007 15:09 GMT
That's possible to do.
Only if you want to do:
Select colA,colB from TableZ
And there's an errorcode 516 (a random error number)
I want to return a error 516
If there no errors, i want to return the results inclusive the return
value 0.
This is handy by inserting data. You can receive the new values and
errormessages.