T
Tom Pester
Hi group,
I have put some validation logic in a trigger and when it doesn't
validate I do a rollback + raiserror.
So for so good but how do I detect this in ADO.NET ?
Is there a way to use raiserror or some othe mechanism to communicate
to ado.net/asp.net that someting went wrong? Currently if I do an
insert and it doesn't validate the ASP.NET site still thinks everyting
is fine.
I have put some validation logic in a trigger and when it doesn't
validate I do a rollback + raiserror.
So for so good but how do I detect this in ADO.NET ?
Is there a way to use raiserror or some othe mechanism to communicate
to ado.net/asp.net that someting went wrong? Currently if I do an
insert and it doesn't validate the ASP.NET site still thinks everyting
is fine.