Example #1
0
 public void BindDD()
 {
     BindPeyman(DDPeymanSelect.SelectedValue.ToString());
     DDParkID.AutoPostBackPark = true;
     BindSubjectt();
     DDParkID.BindDD();
     DDParkID.SelectedRegion = 1;
     //BindPark();
     BindExplainSubject();
 }
Example #2
0
        public void BindDD()
        {
            ClPark cl = new ClPark();

            //DDParkID.DataSource = ParkClass.GetList(cl);
            //DDParkID.DataTextField = "ParkName";
            //DDParkID.DataValueField = "ParkID";
            //DDParkID.DataBind();
            DDParkID.BindDD();
            DDParkID.SelectedRegion = Convert.ToInt32(lblParkDistrict.Text);

            ClPeyman cl2 = new ClPeyman();

            DDPeymanID.DataSource     = PeymanClass.GetList(cl2);
            DDPeymanID.DataTextField  = "PeymanName";
            DDPeymanID.DataValueField = "PeymanID";
            DDPeymanID.DataBind();
        }