public void GridView() { AgendamentoSessoesDAL agendamentoSessoesDAL = new AgendamentoSessoesDAL(); GridView1.DataSource = agendamentoSessoesDAL.Listar(string.Empty, txtNome.Text, txtRG.Text, txtCPF.Text, ddlConvenio.SelectedValue, txtNumeroConvenio.Text, txtDataInicio.Text, txtDataFim.Text, ddlProfissionais.SelectedValue, ddlEspecialidades.SelectedValue, ddlStatusAgendamento.SelectedValue); GridView1.DataBind(); }
public void GridView() { AgendamentoSessoesDAL agendamentoSessoesDAL = new AgendamentoSessoesDAL(); GridView2.DataSource = agendamentoSessoesDAL.Listar(Request.QueryString["id"], string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty); GridView2.DataBind(); }