title: need to show asp.net message box (after validating data with database) Not immediately after button click
body: <p>I need to show asp.net message box with yes and no (after validating the data with database)</p>
  
  <p>My Requirement is 
   Before inserting of any data into Database(I need to check the data is present is DB on that data)</p>
  
  <p>If data is present I need to show message box stating that data exists on the same day ? Are you sure want to save the data or cancel the</p>
  
  <p>Not immediately after button click </p>
  
  <p>please help me </p>