protected void Page_Load(object sender, EventArgs e) { int id = Convert.ToInt32(Request.QueryString["DERSID"].ToString()); dt.DersSil(id); Response.Redirect("DersListesi.aspx"); }
protected void Page_Load(object sender, EventArgs e) { int id = Convert.ToInt32(Request.QueryString["DERSID"].ToString()); DataSet1TableAdapters.Tbl_DerslerTableAdapter dt = new DataSet1TableAdapters.Tbl_DerslerTableAdapter(); dt.DersSil(id); Response.Redirect("DersListesi.aspx"); }