예제 #1
0
        void messagesList_RowDeleted(object sender, GridViewDeleteEventArgs e)
        {
            Label label = (Label)this.messagesList.Rows[e.RowIndex].FindControl("lblMessage");

            if (label != null)
            {
                CommentsHelper.DeleteReceivedMessage(Convert.ToInt64(label.Text));
            }
            this.BindData();
        }