I have an application that adds a form to the database (ASP.NET 2.0)
The button emits SqlDataSource_3_Inserting & SqlDataSource_3_Inserted.
I must find a way to look if the field X in the database is over the average. This method is called IsCorrectAmmounts() and returns a bool.
If bool is true, THEN the user must confirm that the ammount is OK. If it is (e.q. Yes), then the datas are inserted in the database, and the admin must be notified (STMP Email) that the user has add a value over average (method has already been made, NotifyAdmin())
With ALL that said:
How to make a confirmation box AFTER the IsCorrectAmmounts gets executed and how to make the yes response submit (e.q. Inserting) the form?
“AFTER the IsCorrectAmmounts gets executed” add the following code: