Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            PetName = "";
            PetName = Request.QueryString["Name"];

            if (Session["User"] != null)
            {
                DataTable dtPets = new DataTable();
                dtPets = oDB.GetPetTypes();

                rptLeftNav.DataSource = dtPets;
                rptLeftNav.DataBind();
            }
        }