public class Employee { System.Windows.Forms.BindingSource Source; public Employee() { Source = new System.Windows.Forms.BindingSource(); ReLoadEmployee(true); } private void ReLoadSource(bool Refreash = false) { if (Refreash) { Source.DataSource = Bll.Controller.EmployeesControl.SelectAllEmployee(); } else { Source.ResetBindings(true); DataGridView.DataSource = Source; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)