private void LoadData() { using (UsersBean ub = new UsersBean()) { dgvUsers.DataSource = ub.Select <UsersBean>(); } }
private void LoadData() { using (UsersBean ub = new UsersBean()) { ub.Select().Bind(dgvUsers); } }