private void LoadPOCServiceGrid() { var serviceDao = new ServiceDao(); dataGridView1.AutoGenerateColumns = false; dataGridView1.DataSource = serviceDao.GetAllServices(); }
private void ShowServices() { var serviceDao = new ServiceDao(); dgvServices.AutoGenerateColumns = false; dgvServices.DataSource = serviceDao.GetAllServices(); }