public void UpdateDataGridView() { dataGridView1.Rows.Clear(); dataGridView2.Rows.Clear(); dataGridView3.Rows.Clear(); managment.LoadPositionLog(); managment.LoadAllFormerEmployees(department); managment.LoadAllEmployees(department); managment.GetPositionLogs(); managment.GetAllEmployees(); managment.GetAllFormerEmployees(); BindingList <Employee> bindingList = new BindingList <Employee>(managment.GetAllEmployees()); BindingList <Employee> listFormerEmployees = new BindingList <Employee>(managment.GetAllFormerEmployees()); BindingList <PositionLog> pos = new BindingList <PositionLog>(managment.GetPositionLogs()); BindingSource source = new BindingSource(bindingList, null); BindingSource sourceFormerEmployees = new BindingSource(listFormerEmployees, null); BindingSource position = new BindingSource(pos, null); //BindingList<Product> bindingListProd = new BindingList<Product>(managment.LoadAllProducts()); //BindingSource listProd = new BindingSource(bindingListProd, null); dataGridView3.DataSource = position; dataGridView1.DataSource = source; dataGridView2.DataSource = sourceFormerEmployees; this.dataGridView1.Columns["PASS"].Visible = false; this.dataGridView1.Columns["Pass"].Visible = false; this.dataGridView1.Columns["Reason"].Visible = false; this.dataGridView2.Columns["PASS"].Visible = false; this.dataGridView2.Columns["Pass"].Visible = false; }