Rowdeleting event doesn't fire
<p>I have a gridview and I have a button on it.I want, if the user click on a button on a row,this row will be delted.I did this steps but I have no success.could you please help me to solve my problem?</p>

<pre><code> protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            int k=int.Parse(GridView1.DataKeys[e.RowIndex].Value.ToString());
            Label1.Text = k.ToString();
        }
</code></pre>

<p>I wanted to see the value in a lable but no success( I think this event doesn't fire)</p>
