private void updateDataGridView() { Cursor.Current = Cursors.WaitCursor; dgvSales.Rows.Clear(); serviceDA = new DBControllerWSClient(); sales = new BindingList <sale>(serviceDA.queryAllSale()); for (int i = 0; i < sales.Count; i++) { dgvSales.Rows.Add(new String[] { "" + sales[i].serialCode, "" + sales[i].totalSale, "" + sales[i].customer.descriptionCustomer, "" + sales[i].creationDate }); } Cursor.Current = Cursors.Arrow; }