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

            ent.Ad       = TxtAd.Text;
            ent.Soyad    = TxtSoyad.Text;
            ent.Numara   = TxtNumara.Text;
            ent.Sifre    = TxtSifre.Text;
            ent.Fotograf = TxtFoto.Text;
            BLLOgrenci.OgrenciEkleBLL(ent);
        }
예제 #2
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        EntityOgrenci ent = new EntityOgrenci();

        ent.AD       = TxtAd.Text;
        ent.SOYAD    = TxtSoyad.Text;
        ent.NUMARA   = TxtNumara.Text;
        ent.SIFRE    = TxtSifre.Text;
        ent.FOTOGRAF = TxtFoto.Text;
        BLLOgrenci.OgrenciEkleBLL(ent);
    }