Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <asp:TextBox ID="txt_opr1" placeholder="Operand 1" runat="server" Enabled="False"></asp:TextBox><br><br>
- <asp:TextBox ID="txt_opr2" placeholder="Operand 2" runat="server" Enabled="False"></asp:TextBox><br><br>
- <asp:TextBox ID="txt_res" placeholder="Result" runat="server" Enabled="False"></asp:TextBox><br><br>
- <asp:Button ID="nine" runat="server" Text="9" OnClick="nine_Click" /> 
- <asp:Button ID="eight" runat="server" Text="8" OnClick="eight_Click" /> 
- <asp:Button ID="seven" runat="server" Text="7" OnClick="seven_Click" /> 
- <asp:Button ID="plus" runat="server" Text="+" OnClick="plus_Click" BorderStyle="Solid" Width="30px" /><br><br>
- <asp:Button ID="six" runat="server" Text="6" OnClick="six_Click" /> 
- <asp:Button ID="five" runat="server" Text="5" OnClick="five_Click" /> 
- <asp:Button ID="four" runat="server" Text="4" OnClick="four_Click" /> 
- <asp:Button ID="minus" runat="server" Text="-" OnClick="minus_Click" BorderStyle="Solid" Width="30px" /><br><br>
- <asp:Button ID="three" runat="server" Text="3" OnClick="three_Click" /> 
- <asp:Button ID="two" runat="server" Text="2" OnClick="two_Click" /> 
- <asp:Button ID="one" runat="server" Text="1" OnClick="one_Click" /> 
- <asp:Button ID="multi" runat="server" Text="*" OnClick="multi_Click" BorderStyle="Solid" Width="30px" /><br><br>
- <asp:Button ID="btn_submit" runat="server" Text="Calculate" OnClick="btn_submit_Click1" Width="87px" /> 
- <asp:Button ID="div" runat="server" Text="/" OnClick="div_Click" BorderStyle="Solid" Width="30px" /><br><br>
- </div>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement