Increment number every time button is click
<p>I want to increase an <code>int</code> variable <code>i</code> whenever I click on a button. But what I get is only <code>int</code> value of <code>1</code> and it doesn't increase anymore.</p>
<p>Here is my code:</p>
<pre><code>private int i;

protected void btnStart_Click(object sender, EventArgs e)
{
    i++;

    lblStart.Text = i.ToString();
}
</code></pre>