Currently I am using a java script alert box in the button command of the datagrid, like after button is clicked I am checking for a condition and if satisfied alerting the user with the alert box and then update the database.
Now what the user wants is a confirm box and when he selects yes the DB should be updated and no should exit the sub. How can I achieve this..
I browsed through meny websites but was not able to make out how retrieve the user input for the confirm box.
Please provide a sample to acieve this...