public void loadPatients(string opd) { opd opd2 = new opd(); opd2.loadVisitedPatients(opd); dataGridView1.DataSource = opd2.table; }
public void loadPatients() { opd opd = new opd(); opd.loadVisitedPatients(); dataGridView1.DataSource = opd.table; }