예제 #1
0
 private void btnekle_Click(object sender, EventArgs e)
 {
     if (rdberkek.Checked == true)
     {
         c = "ERKEK";
     }
     if (rdbkız.Checked == true)
     {
         c = "KIZ";
     }
     ds.OgrenciEkle(Txtograd.Text, Txtogrsoyad.Text, byte.Parse(Cmbogrkulup.SelectedValue.ToString()), c);
     MessageBox.Show("Öğrenci Ekleme Tamamlandı.");
 }
예제 #2
0
 private void BtnEkle_Click(object sender, EventArgs e)
 {
     ds.OgrenciEkle(TxtAd.Text, TxtSoyad.Text, byte.Parse(comboBox1.SelectedValue.ToString()), c);
     MessageBox.Show("Öğrenci Ekleme Yapıldı");
 }
예제 #3
0
 private void BtnEkle_Click(object sender, EventArgs e)
 {
     ds.OgrenciEkle(TxtAd.Text, TxtSoyad.Text, byte.Parse(comboBox1.SelectedValue.ToString()), c);
     MessageBox.Show("Öğrenci Ekleme Yapıldı", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }
 private void BtnEkle_Click(object sender, EventArgs e)
 {
     ds.OgrenciEkle(TxtAd.Text, TxtSoyad.Text, byte.Parse(comboBox1.SelectedValue.ToString()), c);
     liste();
     MessageBox.Show("Kayıt ekleme işlemi tamamlanmıştır");
 }
예제 #5
0
 private void BtnEkle_Click(object sender, EventArgs e)
 {
     ds.OgrenciEkle(TxtAd.Text, TxtSoyad.Text, byte.Parse(comboBox1.SelectedValue.ToString()), c);
     MessageBox.Show("Öğrenci Eklendi");
     dataGridView1.DataSource = ds.OgrenciListesi();
 }