protected void BtnGuncelle_Click(object sender, EventArgs e)
        {
            int x = Convert.ToInt16(Request.QueryString["ID"]);

            TxtId.Enabled = false;
            TxtId.Text    = x.ToString();
            DataSet1TableAdapters.TBLDENEYIMTableAdapter dt = new
                                                              DataSet1TableAdapters.TBLDENEYIMTableAdapter();
            dt.DeneyimGuncelle(TxtBaslik.Text, TxtAltBaslik.Text, TxtAciklama.Text, TxtTarih.Text, Convert.ToInt16(TxtId.Text));
            Response.Redirect("AdminDeneyimler.Aspx");
        }
 protected void BtnGuncelle_Click(object sender, EventArgs e)
 {
     DataSet1TableAdapters.TBLDENEYIMTableAdapter dt = new DataSet1TableAdapters.TBLDENEYIMTableAdapter();
     dt.DeneyimGuncelle(TxtBaslik.Text, TxtAltbaslik.Text, TxtAciklama.Text, TxtTarih.Text, Convert.ToInt16(TxtID.Text));
     Response.Redirect("AdminDeneyimler.aspx");
 }
Пример #3
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     DataSet1TableAdapters.TBLDENEYIMTableAdapter dt = new DataSet1TableAdapters.TBLDENEYIMTableAdapter();
     dt.DeneyimGuncelle(BaslikText.Text, AltbaslikText.Text, AciklamaText.Text, TarihText.Text, Convert.ToInt32(GuncellemeID.Text));
     Response.Redirect("AdminDeneyimler.aspx");
 }