Hi,
I am giving example for textbox, so use the below code for wat ever control you selected.
protected void Button1_Click(object sender, EventArgs e)
{
int i = 0;
if (TextBox1.Text != string.Empty)
i = int.Parse(TextBox1.Text);
TextBox1.Text = Convert.ToString(i + 1);
}