protected void Page_Load(object sender, EventArgs e) { List <EntityDers> degerler = BLLDers.DersListesi(); Repeater1.DataSource = degerler; Repeater1.DataBind(); }
protected void BtnDersTalepOlustur_Click(object sender, EventArgs e) { EntityBasvuru basvuru = new EntityBasvuru(); basvuru.BasvuruOgrenciId = int.Parse(TxtOgrenciId.Text); basvuru.BasvuruDersId = int.Parse(DersListe.SelectedValue.ToString()); BLLDers.DersTalepEkle(basvuru); }
protected void Button1_Click(object sender, EventArgs e) { EntityBasvuruForm ent = new EntityBasvuruForm(); ent.Basvuruogrid = int.Parse(TextBox1.Text); ent.Basvurudersid = int.Parse(DropDownList1.SelectedValue.ToString()); BLLDers.talepEkleBLL(ent); }
protected void Button1_Click(object sender, EventArgs e) { EntityBasvuruForm ent = new EntityBasvuruForm(); ent.BASDERSID = int.Parse(DropDownList1.SelectedValue.ToString()); ent.BASOGRID = int.Parse(TextBox1.Text); BLLDers.BllTalepEkle(ent); }
protected void Page_Load(object sender, EventArgs e) { List <EntityDers> EntDers = BLLDers.BllListele(); DropDownList1.DataSource = BLLDers.BllListele(); DropDownList1.DataTextField = "DersAd"; DropDownList1.DataValueField = "DERSID"; DropDownList1.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { List <EntityDers> EntDers = BLLDers.BllListele(); DropDownList1.DataSource = BLLDers.BllListele(); DropDownList1.DataTextField = "DERSAD"; DropDownList1.DataValueField = "ID"; DropDownList1.DataBind(); DropDownList1.Items.Insert(0, new ListItem("Seçiniz", "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(); } }
protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == false) { List <EntityDers> EntDers = BLLDers.BllListele(); DropDownList1.DataSource = BLLDers.BllListele(); DropDownList1.DataTextField = "DERSAD"; DropDownList1.DataValueField = "ID"; DropDownList1.DataBind(); } }
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(); } }