private void PopulaGrid() { rTipoPeca regra = new rTipoPeca(); try { this.dgTipoPeca.DataSource = regra.BuscaTipoPeca(this.txtFiltro.Text); this.dgTipoPeca.Columns[0].Visible = false; } catch (Exception ex) { throw ex; } finally { regra = null; } }