locked
how to run my below code in c# asp.net button click RRS feed

  • Question

  • User-807418713 posted

    Hello

    I have two button

    First i want to run this code on asp.net button click

    drop trigger mytrigdel

    second i want to rum this code on asp.net button click

    create TRIGGER [dbo].[Sysdbo] ON [dbo].[Store_Descp] INSTEAD OF DELETE AS
    BEGIN IF @@rowcount > 0 BEGIN
    RAISERROR( 'Your Not Allowed To Delete Data...!', 16, 2 )
    ROLLBACK END END

    Thanking You

    how to do so..?

    Tuesday, September 1, 2020 5:58 PM

Answers