Dear All ,

Create Trigger  Invoice_Trigger
on
InvoiceTable
After InsertUpdate
Update Invoice set invoiceId=20

How  can i fire this trigger form .Net code

I think it is not possible in .Net .  is there any way to call .Plz tell the
code

Regards,
Srihari





On Thu, Oct 7, 2010 at 3:27 PM, Rocky <[email protected]> wrote:

> My Dear friend,
>
> as per my understanding a store procedure can do whatever you want to.
> because if you want to do something from the .Net code then why don't
> you write a procedure performing the same thing.
>
> the main advatage of triggers are they fired themselves on specified
> event.
>
> Please specify the problem if you still have.
>
> Thanks,
>
> On Oct 6, 5:16 pm, srihari k <[email protected]> wrote:
> > hi,
> >
> > How to call sql server triggers in .Net code ( c# or Asp.net ) and make
> it
> > fire ?
> >
> > Thanks in advance
> >
> > Regards,
> > Srihari.Patnaik
>

Reply via email to