Exemplo n.º 1
0
        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();
            }
        }
Exemplo n.º 2
0
 //Lista os hobbies de participantes do banco de dados na grid
 protected void List()
 {
     this.GestorDeHobbieDeParticipante    = new GestorDeHobbieDeParticipante();
     StoreParticipanteHobbieId.DataSource = this.GestorDeHobbieDeParticipante.ObterTodosOsRegistros();
     StoreParticipanteHobbieId.DataBind();
 }
Exemplo n.º 3
0
 //Lista os hobbies de participantes do banco de dados na grid
 protected void List(object sender, DirectEventArgs e)
 {
     StoreParticipanteHobbieId.DataSource = this.GestorDeHobbieDeParticipante.ObterTodosOsRegistros();
     StoreParticipanteHobbieId.DataBind();
 }