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(); } }
//Lista os imagems do banco de dados na grid protected void List() { this.GestorDeImagemDeParticipante = new GestorDeImagemDeParticipante(); StoreImagemParticipanteId.DataSource = this.GestorDeImagemDeParticipante.ObterTodosOsImagens(); StoreImagemParticipanteId.DataBind(); }
//Lista os imagems do banco de dados na grid protected void List(object sender, DirectEventArgs e) { StoreImagemParticipanteId.DataSource = this.GestorDeImagemDeParticipante.ObterTodosOsImagens(); StoreImagemParticipanteId.DataBind(); }