private void borrar() { int posicion = dataGridView1.SelectedCells[0].RowIndex; string id = dataGridView1.Rows[posicion].Cells[0].Value.ToString(); if (basicService.Borrar(id)) { SetDataList(basicService.MostrarTodo()); } }