Пример #1
0
        /* Metodos */
        private void MostrarTurnos(string dni)
        {
            DataTable tabla = new DataTable();

            tabla = Turnos.GetTurnosPaciente(dni);
            if (tabla.Rows.Count != 0)
            {
                GrdPacientes.DataSource = tabla;
            }
            else
            {
                MessageBox.Show("El paciente no tiene turnos cargados", "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }