Пример #1
0
 public void FilterAppointmentList(String bDate, DBconn dbConn, DataGridView dataGridView)
 {
     dt = new DataTable();
     dt = dbConn.GetAppointmentByPersonalNumber(bDate);
     dataGridView.DataSource = dt;
 }
Пример #2
0
 public void FillAppointmentsList(DBconn dbConn, DataGridView dataGridView)
 {
     dt = new DataTable();
     dt = dbConn.GetAppointmentList();
     dataGridView.DataSource = dt;
 }