protected void btnCalculate_Click(object sender, EventArgs e)
    {
        try
        {
            lblResult.Text = Convert.ToString(int.Parse(TextBox1.Text) + int.Parse(TextBox2.Text));
        }
        catch
        {
            lblResult.Text = "Nieprawidłowe dane!";
        }
    }
