private void updateDataGridView() { Cursor.Current = Cursors.WaitCursor; dgvEmployee.Rows.Clear(); serviceDA = new DBControllerWSClient(); employees = new BindingList <employee>(serviceDA.queryAllEmployee()); for (int i = 0; i < employees.Count; i++) { dgvEmployee.Rows.Add(new String[] { "" + employees[i].dni, employees[i].name, employees[i].lastName, employees[i].phone, employees[i].email, employees[i].role }); } Cursor.Current = Cursors.Arrow; }