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

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


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

     </script>
 </head>

  

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

     </div>
     </form>
 </body>

After generation � �


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


Related articles: