private void button3_Click(object sender, EventArgs e) { EntityOgrenci ent = new EntityOgrenci(); ent.ID = Convert.ToInt32(txtOgrId.Text); ent.AD = txtograd.Text; ent.SOYAD = txtogrsoyad.Text; ent.FOTOGRAF = txtogrfotograf.Text; ent.KULUPID = Convert.ToInt32(cmbogrkulup.SelectedValue); BLLOgrenci.GUNCELLE(ent); OgrenciListesi(); }