Esempio n. 1
0
    protected void show_usr(object sender, CommandEventArgs e)
    {
        SqlFuns sf = new SqlFuns();

        bindpet(sf.SearchPetByUsrid(e.CommandName.ToString()));
        this.U_usr1.user               = sf.SearchUserById(e.CommandName.ToString());
        this.U_usr1.Visible            = true;
        this.U_usr2.Visible            = false;
        this.U_pet1.Visible            = false;
        this.U_pet1.Visible            = false;
        this.Repeater_petlist.Visible  = true;
        this.Button_newpet.Visible     = true;
        this.Button_update.Visible     = true;
        this.Button_submit_pet.Visible = false;
        this.Button_insert.Visible     = false;
    }