Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            List <EntityDers> degerler = BLLDers.DersListesi();

            Repeater1.DataSource = degerler;
            Repeater1.DataBind();
        }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Page.IsPostBack == false)
     {
         List <EntityDers> ders = BLLDers.DersListesi();
         DersListe.DataSource     = BLLDers.DersListesi();
         DersListe.DataTextField  = "DersAd";
         DersListe.DataValueField = "DersID";
         DersListe.DataBind();
     }
 }
Пример #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            List <EntityDers> degerler = BLLDers.DersListesi();

            if (Page.IsPostBack == false)
            {
                DropDownList1.DataSource     = degerler;
                DropDownList1.DataTextField  = "DersAd";
                DropDownList1.DataValueField = "Id";
                DropDownList1.DataBind();
            }
        }