Exemplo n.º 1
0
 private void LoadPOCServiceGrid()
 {
     var serviceDao = new ServiceDao();
     dataGridView1.AutoGenerateColumns = false;
     dataGridView1.DataSource = serviceDao.GetAllServices();
 }
Exemplo n.º 2
0
 private void ShowServices()
 {
     var serviceDao = new ServiceDao();
     dgvServices.AutoGenerateColumns = false;
     dgvServices.DataSource = serviceDao.GetAllServices();
 }