Hi Edvard,
>> I want to add a button, that does 3 things:
There are a few approaches to this.
But breaking it down a bit helps to simplify it.
>> Opens a warning - 'Do you really want to reset due date for all members',
think of this as a NetWebForm, with a Display field (message) and two buttons.
Yes button takes you to a Done page -
No button takes you to IndexPage
Done Page contains the SqlScript code, perhaps tied to a progress control, which displays "Done" when it has completed.
Breaking it down to a simple UI flow like this makes it easier for you to implement.
(there are other approaches, but this is probably the one I'd recommend.)
cheers
Bruce