protected void Button1_Click(object sender, EventArgs e) { DataSetTableAdapters.TBLEGITIMTableAdapter dt = new DataSetTableAdapters.TBLEGITIMTableAdapter(); dt.EgitimGuncelle(Txtbaslik.Text, Txtaltbaslik.Text, Txtaciklama.Text, Txtgnot.Text, Txttarih.Text, Convert.ToInt16(Txtid.Text)); Response.Redirect("AdminEgitim.Aspx"); }
protected void Button1_Click(object sender, EventArgs e) { DataSetTableAdapters.TBLEGITIMTableAdapter dt1 = new DataSetTableAdapters.TBLEGITIMTableAdapter(); dt1.EgitimGuncelle(TxtBaslik.Text, TxtAltBaslik.Text, TxtAciklama.Text, TxtGenelNot.Text, TxtTarih.Text, Convert.ToInt16(TxtId.Text)); Response.Redirect("AdminEgitimler.Aspx"); }
protected void btnGuncelle_Click(object sender, EventArgs e) { DataSetTableAdapters.TBLEGITIMTableAdapter dtEgitim = new DataSetTableAdapters.TBLEGITIMTableAdapter(); dtEgitim.EgitimGuncelle(txtBaslik.Text, txtAltBaslik.Text, txtAciklama.Text, txtGnot.Text, txtTarih.Text, Convert.ToInt16(txtID.Text)); Response.Redirect("AdminEgitimler.aspx"); }