Esempio n. 1
0
        private void LoadAdopt()
        {
            List <CTAdoptPet> LIST = new List <CTAdoptPet>();
            AdoptPet          aa   = new AdoptPet();

            LIST = aa.GetPetAdoptPetList();
        }
Esempio n. 2
0
        private void BindGrid()
        {
            AdoptPet adopet = new AdoptPet();

            GridView1.DataSource = adopet.GetPetAdoptPetList();
            GridView1.DataBind();
        }
Esempio n. 3
0
        private void LoadAdopt()
        {
            List <CTAdoptPet> LIST = new List <CTAdoptPet>();
            AdoptPet          aa   = new AdoptPet();

            LIST = aa.GetPetAdoptPetList();
            ddAdopt.DataSource     = LIST;
            ddAdopt.DataTextField  = "AdoptTitle";
            ddAdopt.DataValueField = "AdoptID";
            ddAdopt.DataBind();
            ddAdopt1.DataSource     = LIST;
            ddAdopt1.DataTextField  = "AdoptTitle";
            ddAdopt1.DataValueField = "AdoptID";
            ddAdopt1.DataBind();
        }
 private void LoadAdopt()
 {
     List<CTAdoptPet> LIST = new List<CTAdoptPet>();
     AdoptPet aa = new AdoptPet();
     LIST = aa.GetPetAdoptPetList();
 }
 private void BindGrid()
 {
     AdoptPet adopet = new AdoptPet();
     GridView1.DataSource = adopet.GetPetAdoptPetList();
     GridView1.DataBind();
 }
 private void LoadAdopt()
 {
     List<CTAdoptPet> LIST = new List<CTAdoptPet>();
     AdoptPet aa = new AdoptPet();
     LIST = aa.GetPetAdoptPetList();
     ddAdopt.DataSource = LIST;
     ddAdopt.DataTextField = "AdoptTitle";
     ddAdopt.DataValueField = "AdoptID";
     ddAdopt.DataBind();
     ddAdopt1.DataSource = LIST;
     ddAdopt1.DataTextField = "AdoptTitle";
     ddAdopt1.DataValueField = "AdoptID";
     ddAdopt1.DataBind();
 }