i have design a system in which on one screen i put a delete button for deletion of record. i want to implement this button as
1. by pressing delete button, program should show a message asking ' you want to delete record'.
2. if i press ok(green) button on displayed message, the program will delete records from database table
3. else i press cross button (cancel) on displayed message, records should not be deleted
please give me the code to implement this.