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

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

            GridView1.DataSource = adopet.GetPetAdoptPetList();
            GridView1.DataBind();
        }
Exemplo 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();
        }
Exemplo n.º 4
0
 private void LoadAdopt()
 {
     List<CTAdoptPet> LIST = new List<CTAdoptPet>();
     AdoptPet aa = new AdoptPet();
     LIST = aa.GetPetAdoptPetList();
 }
Exemplo n.º 5
0
 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();
 }