Ejemplo n.º 1
0
        private void BindData()
        {
            GwPersons.DataSource = handler.personHandler.GetPersons();
            GwPersons.DataBind();

            RepeaterPerson.DataSource = handler.personHandler.GetPersons();
            RepeaterPerson.DataBind();
        }
Ejemplo n.º 2
0
        private void ShowData()
        {
            GwPersons.DataSource = manager.GetPersons();
            GwPersons.DataBind();

            RepeaterPerson.DataSource = manager.GetPersons();
            RepeaterPerson.DataBind();
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         PeopleService peopleService = new PeopleService();
         RepeaterPerson.DataSource = peopleService.GetAll();
         RepeaterPerson.DataBind();
     }
 }