protected void Page_Load(object sender, EventArgs e) { if (!X.IsAjaxRequest) { StoreImagemParticipanteId.DataSource = this.GestorDeImagemDeParticipante.ObterTodosOsImagens(); StoreImagemParticipanteId.DataBind(); StoreParticipanteId.DataSource = this.GestorDeParticipante.ObterTodosOsParticipantes().OrderBy(l => l.nome); StoreParticipanteId.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!X.IsAjaxRequest) { StoreUsuarioId.DataSource = this.GestorDeUsuario.ObterTodosOsUsuarios().OrderBy(l => l.e_mail); StoreUsuarioId.DataBind(); StoreParticipanteId.DataSource = this.GestorDeParticipante.ObterTodosOsParticipantes().OrderBy(l => l.nome); StoreParticipanteId.DataBind(); StoreCampusId.DataSource = this.GestorDeCampus.ObterTodosOsCampus().OrderBy(l => l.local); StoreCampusId.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!X.IsAjaxRequest) { StoreParticipanteHobbieId.DataSource = this.GestorDeHobbieDeParticipante.ObterTodosOsRegistros(); StoreParticipanteHobbieId.DataBind(); StoreParticipanteId.DataSource = this.GestorDeParticipante.ObterTodosOsParticipantes().OrderBy(l => l.nome); StoreParticipanteId.DataBind(); StoreItemId.DataSource = this.GestorDeItem.ObterTodosOsItems().OrderBy(l => l.nome); StoreItemId.DataBind(); StoreStatusId.DataSource = this.GestorDeStatus.ObterTodosOsStatus(); StoreStatusId.DataBind(); } }
//Lista os participantes do banco de dados na grid protected void List() { this.GestorDeParticipante = new GestorDeParticipante(); StoreParticipanteId.DataSource = this.GestorDeParticipante.ObterTodosOsParticipantes().OrderBy(l => l.nome); StoreParticipanteId.DataBind(); }
//Lista os participantes do banco de dados na grid protected void List(object sender, DirectEventArgs e) { StoreParticipanteId.DataSource = this.GestorDeParticipante.ObterTodosOsParticipantes().OrderBy(l => l.nome); StoreParticipanteId.DataBind(); }