protected void Page_Load(object sender, EventArgs e)
        {
            int           x   = Convert.ToInt32(Request.QueryString["OgrenciId"]);
            EntityOgrenci ent = new EntityOgrenci();

            ent.Id = x;
            BLLOgrenci.OgrenciSil(ent.Id);
            Response.Redirect("OgrenciListesi.aspx");
        }
Exemple #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        int OgrenciID = Convert.ToInt32(Request.QueryString["OgrenciID"]);

        Response.Write(OgrenciID);
        EntityOgrenci ogrenci = new EntityOgrenci();

        ogrenci.OgrenciId = OgrenciID;
        BLLOgrenci.OgrenciSil(ogrenci.OgrenciId);
        Response.Redirect("OgrenciListe.aspx");
    }