private void btnBuscarTodos_Click(object sender, EventArgs e) { Atendimento a = new Atendimento(); gvListaDeExames.DataSource = a.FormatarParaExibir(a.Buscar()); }
private void btnBuscarAtendimento_Click(object sender, EventArgs e) { Atendimento a = new Atendimento(); gvListaDeExames.DataSource = a.FormatarParaExibir(a.Buscar(Convert.ToDateTime(dtpDataInicio.Value), Convert.ToDateTime(dtpDataFim.Value))); }
public void CarregaGridExamesDoAtendimento() { gvListaDeExames.DataSource = ObjAtendimento.FormatarParaExibir(new AtendimentoDAO().BuscarTodos()); }