Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(Request.QueryString["DERSID"].ToString());

            dt.DersSil(id);
            Response.Redirect("DersListesi.aspx");
        }
Exemplo n.º 2
0
        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");
        }