<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TryCatch.aspx.cs" Inherits="TryCatch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Przykład Try...Catch</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet" />
</head>
<body>
   <form id="form1" runat="server">
   <div id="container">
   <h1>Prosty kalkulator</h1>
   <div class="box">
      <asp:TextBox ID="txtValue" runat="server" />
      <br />
      <asp:Button Text="Oblicz" runat="server" ID="btnDivide" 
         OnClick="btnDivide_Click" />
   </div>
   <p><asp:Label ID="labMessage" runat="server" /></p>

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