protected void Page_Load(object sender, EventArgs e) { int x = Convert.ToInt32(Request.QueryString["OGRID"]); Response.Write(x); EntityOgrenci ent = new EntityOgrenci(); ent.Id = x; BLLOgrenci.OgrenciSilBLL(ent.Id); Response.Redirect("OgrenciListesi.aspx"); }