Show Message Box and then fire as required answer by User.
Hello Guys,
I want to do something like this.
I have a calendar control and an Update button in my page. When the user selects the date from calendar and clicks on update button.
when user clicks i update button it should check in the database table for the selected date. If the is any row in the selected date. Then it should show a message saying that the selected date is already present in the database. Do u want to overwrite. Yes or No buttons. If user selects yes then it should overwrite and if no it should do nothing.
All i need is how to display the message box from code behind and how can i get the events of yes or no to overwrite or not.
Please tell me how to do this.
|