Button cant working properly
<p>I am working on visual studio 2010 with SQL Server Management studio.</p>

<p>I have made a button for deleting selected rows from the table.</p>

<pre><code>&lt;asp:Button ID="btnDeleteSelectedMessages" runat="server" 
    Text="Verwijderen" Enabled="false" 
    OnClick="btnDeleteSelectedMessages_Click" /&gt;
</code></pre>

<p>It works perfectly for the first time when I run the page first time.</p>

<p>then after the button can't be clicked second time.</p>

<p>the code on button click event is like this.</p>

<pre><code>protected void btnDeleteSelectedMessages_Click(object sender, EventArgs e)
{
    if (currentGridView == null)
        setCurrentGridView();

    //controleer voor elke rij welke checkbox is geselecteerd
    foreach (GridViewRow row in currentGridView.Rows)
    {
        var cb = (HtmlInputCheckBox)row.FindControl("chkPaid");
        Guid messageID = (Guid)currentGridView.DataKeys[row.DataItemIndex].Value;

        //als de checkbox is geselecteerd het bericht verwijderen
        if (cb != null &amp;&amp; cb.Checked)
        {
            if (currentGridView.ID.Equals("Messages"))
                b.BussinesMessageReceiver.DeleteMessageReceiver(messageID, MessageBoxPerson);
            else if (currentGridView.ID.Equals("MessagesSent"))
                b.BussinesMessage.DeleteMessageSender(messageID);
            else //MessagesDeleted
                b.BussinesMessage.DeleteMessage(messageID, (Page.Server.MapPath("~/Upload/") + messageID));
            continue;
        }
    }
    btnDeleteSelectedMessages.Enabled = false;
    selectLocation.Visible = false;
    clearSelectedMessageSession();

    //Update the GridView
    BindGridView();
}
</code></pre>

<p>Can any one help me?</p>
