In the pop up window click OK in the delete data implementation method

  • 2020-06-03 06:18:22
  • OfStack

<head runat="server">
     <script type="text/javascript">
         function myClick() {
             if (confirm(" Do you wish to divide the money? ")) {
                 return true;
             else {
                 return false;



     <form id="form1" runat="server">
         <asp:Button ID="Button1" runat="server" OnClientClick="return myClick();" OnClick="Button1_Click"
             Text="Button" />


After generation � �

 protected void Button1_Click(object sender, EventArgs e)
         Button1.Text = "Hello World";
  // In the context of division and delegation. 

Related articles: