예제 #1
0
        public void loadPatients(string token)
        {
            opd opd = new opd();

            opd.patientsToVisit(token);
            dataGridView1.DataSource = opd.table;
            dataGridView1.ClearSelection();
            clearData();
            foreach (DataGridViewColumn column in dataGridView1.Columns)
            {
                column.SortMode = DataGridViewColumnSortMode.NotSortable;
            }
        }
예제 #2
0
        public void loadPatients()
        {
            opd opd = new opd();

            opd.patientsToVisit();
            dataGridView1.DataSource = opd.table;
            dataGridView1.ClearSelection();
            loadCount();
            clearData();
            foreach (DataGridViewColumn column in dataGridView1.Columns)
            {
                column.SortMode = DataGridViewColumnSortMode.NotSortable;
            }
            textBox6.Text = dataGridView1.Rows.Count.ToString();
        }