void notlistesi() { List <EntityNotlar> EntNot = BLLNotlar.LISTELE(); dataGridView1.DataSource = EntNot; this.Text = "Başarılı"; }
void notListesi() { List <EntityNotlar> notList = BLLNotlar.NotListele(); dataGridView1.DataSource = notList; this.Text = "Not Listesi"; }
void NotListele() { List <EntityNotlar> entNot = BLLNotlar.Listele(); dataGridView1.DataSource = entNot; this.Text = "Not Listesi"; }
private void BTNNOTKAYDET_Click(object sender, EventArgs e) { EntityNotlar ENT = new EntityNotlar(); ENT.OGRID = Convert.ToInt32(TXTOGRID.Text); ENT.SINAV1 = Convert.ToInt32(SINAV1.Text); ENT.SINAV2 = Convert.ToInt32(SINAV2.Text); ENT.SINAV3 = Convert.ToInt32(SINAV3.Text); ENT.PROJE = Convert.ToInt32(PROJE.Text); ENT.ORTALAMA = Convert.ToInt32(ORT.Text); ENT.DURUM = DURUM.Text; BLLNotlar.Guncelle(ENT); }
private void button5_Click(object sender, EventArgs e) { EntityNotlar ent = new EntityNotlar(); ent.OGRID = Convert.ToInt32(txtogrnotid.Text); ent.SINAV1 = Convert.ToInt32(txtsinav1.Text); ent.SINAV2 = Convert.ToInt32(txtsinav2.Text); ent.SINAV3 = Convert.ToInt32(txtsinav3.Text); ent.PROJE = Convert.ToInt32(txtproje.Text); ent.ORTALAMA = Convert.ToInt32(txtortalama.Text); ent.DURUM = txtdurum.Text; BLLNotlar.GUNCELLE(ent); NotListesi(); }
private void btnNotGuncelle_Click(object sender, EventArgs e) { EntityNotlar ent = new EntityNotlar(); ent.OgrenciId = Convert.ToInt16(txtOgrId.Text); ent.Sinav1 = Convert.ToInt16(txtNotSinav1.Text); ent.Sinav2 = Convert.ToInt16(txtNotSinav2.Text); ent.Sinav3 = Convert.ToInt16(txtNotSinav3.Text); ent.Proje = Convert.ToInt16(txtNotProje.Text); ent.Ortalama = Convert.ToInt16(txtNotOrtalama.Text); ent.Durum = txtNotDurum.Text; BLLNotlar.NotGuncelle(ent); MessageBox.Show("Notlar Güncellendi"); notListesi(); }
private void btnNotGuncelle_Click(object sender, EventArgs e) { EntityNotlar entNot = new EntityNotlar(); entNot.OgrenciID = Convert.ToInt32(txtNotID.Text); entNot.Sinav1 = Convert.ToInt32(txtS1.Text); entNot.Sinav2 = Convert.ToInt32(txts2.Text); entNot.Sinav3 = Convert.ToInt32(txtS3.Text); entNot.Ortalama = Convert.ToInt32(txtOrt.Text); entNot.Proje = Convert.ToInt32(txtProje.Text); entNot.Durum = txtDurum.Text; BLLNotlar.Guncelle(entNot); MessageBox.Show("Notlar Güncellendi"); NotListele(); }
void NotListesi() { List <EntityNotlar> NotList = BLLNotlar.LISTELE(); dataGridView1.DataSource = NotList; }