protected void Page_Load(object sender, EventArgs e) { int id = Convert.ToInt16(Request.QueryString["ID"]); DataSetTableAdapters.TBLEGITIMTableAdapter dtEgitim = new DataSetTableAdapters.TBLEGITIMTableAdapter(); dtEgitim.EgitimSil(Convert.ToInt16(id)); Response.Redirect("AdminEgitimler.aspx"); }