private void Btn_Excluir_Click(object sender, EventArgs e) { try { persist.Delete(IdGrid, conn); ClearFields(); LoadGrid(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }