private void Delete(string entry) { try { if (entry == "") { lblMessage.Text = "Select a Title."; return; } if (Downloads.Delete(Convert.ToInt32(entry))) { lblMessage.Text = "The content was succesfully Deleted."; } else { lblMessage.Text = "There was problem Deleting the content."; } } catch { } }