Beispiel #1
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        EntityOgrenci ent = new EntityOgrenci();

        ent.AD       = TxtAd.Text;
        ent.SOYAD    = TxtSoyad.Text;
        ent.SIFRE    = TxtSifre.Text;
        ent.NUMARA   = TxtNumara.Text;
        ent.FOTOGRAF = TxtFoto.Text;
        ent.ID       = Convert.ToInt32(Txtıd.Text);
        BLLOgrenci.OgrenciGuncelleBLL(ent);
        Response.Redirect("OgrenciListesi.Aspx");
    }
Beispiel #2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            EntityOgrenci ent = new EntityOgrenci();

            ent.Ad     = TxtAd.Text;
            ent.Soyad  = TxtSoyad.Text;
            ent.SIFRE  = TxtSifre.Text;
            ent.FOTO   = TxtFoto.Text;
            ent.Numara = TxtNumara.Text;
            ent.Id     = Convert.ToInt32(TxtId.Text);
            BLLOgrenci.OgrenciGuncelleBLL(ent);
            Response.Redirect("OgrenciListele.aspx");
        }
Beispiel #3
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        EntityOgrenci ent = new EntityOgrenci();

        ent.OgrId       = Convert.ToInt32(TxtId.Text);
        ent.OrgAd       = TxtAd.Text;
        ent.OgrSoyad    = TxtSoyad.Text;
        ent.OgrNumara   = TxtNumara.Text;
        ent.OgrFotograf = TxtFotograf.Text;
        ent.OgrSifre    = TxtSifre.Text;
        BLLOgrenci.OgrenciGuncelleBLL(ent);
        Response.Redirect("OgrenciListesi.aspx");
    }