private void CarregarDadosEstoque() { EstoqueBusiness Estoque = new EstoqueBusiness(); List <EstoqueDTO> view = Estoque.ConsultarporNome(textBox2.Text); EstoqueDTO dto = view[0]; dataGridView1.DataSource = view; }