Exemple #1
0
 public FormPicWorkHours()
 {
     InitializeComponent();
     db = new ClassDB();
     dataGridView1.ColumnCount = 4;
     dataGridView1.Columns[0].HeaderCell.Value = "ID Смены";
     dataGridView1.Columns[1].HeaderCell.Value = "Дата";
     dataGridView1.Columns[2].HeaderCell.Value = "Фамилия сотрудника";
     dataGridView1.Columns[3].HeaderCell.Value = "Должность";
     db.SearchWorkHoursForPic(dataGridView1);
 }