protected void Button1_Click(object sender, EventArgs e) { DataSet1TableAdapters.TBLEGITIMTableAdapter dt = new DataSet1TableAdapters.TBLEGITIMTableAdapter(); dt.EgitimGuncelle(TxtBaslik.Text, TxtAltBaslik.Text, TxtAciklama.Text, TxtGenelNot.Text, TxtTarih.Text, Convert.ToInt16(Txtid.Text)); Response.Redirect("AdminEgitimler.Aspx"); }
protected void Unnamed1_Click(object sender, EventArgs e) { DataSet1TableAdapters.TBLEGITIMTableAdapter dt = new DataSet1TableAdapters.TBLEGITIMTableAdapter(); dt.EgitimGuncelle(txtbaslik.Text, txtaltbaslik.Text, txtaciklama.Text, txtgno.Text, txttarih.Text, Convert.ToInt32(txtguncelleme.Text)); Response.Redirect("AdminEgitim.aspx"); }