Here is the code how you can add a client side confirmation box on button click :-
<asp:Button ID="btnDelete" runat="server" Text="Delete" OnClientClick="return confirm('Do You Want to Delete Record');"/>
This Blog dedicated to Microsoft Technologies specially ASP .Net and C#.
<asp:Button ID="btnDelete" runat="server" Text="Delete" OnClientClick="return confirm('Do You Want to Delete Record');"/>