protected void Button1_Click(object sender, EventArgs e) { DataSet1TableAdapters.TBLHakkimdaTableAdapter dr1 = new DataSet1TableAdapters.TBLHakkimdaTableAdapter(); dr1.HakkimdaGuncelle(TextBox1.Text, TextBox2.Text, TextBox3.Text, TextBox4.Text, TextBox5.Text, TextBox6.Text, TextBox7.Text); Response.Redirect("Default.aspx"); }
protected void Page_Load(object sender, EventArgs e) { if (Session["KullaniciAd"] == null) { Response.Redirect("LoginPanel.aspx"); } else { Response.Write("Hoşgeldiniz...." + Session["KullaniciAd"].ToString()); } DataSet1TableAdapters.TBLHakkimdaTableAdapter dr = new DataSet1TableAdapters.TBLHakkimdaTableAdapter(); Repeater1.DataSource = dr.HakkimdaListele(); Repeater1.DataBind(); DataSet1TableAdapters.TBLDeneyimTableAdapter dr1 = new DataSet1TableAdapters.TBLDeneyimTableAdapter(); Repeater2.DataSource = dr1.DeneyimListesi(); Repeater2.DataBind(); DataSet1TableAdapters.TBLEgitimHTableAdapter dr2 = new DataSet1TableAdapters.TBLEgitimHTableAdapter(); Repeater3.DataSource = dr2.EgitimBilgi(); Repeater3.DataBind(); DataSet1TableAdapters.TBLHobiTableAdapter dr3 = new DataSet1TableAdapters.TBLHobiTableAdapter(); Repeater4.DataSource = dr3.hobiBilgi(); Repeater4.DataBind(); DataSet1TableAdapters.TBLSertifikaTableAdapter dr4 = new DataSet1TableAdapters.TBLSertifikaTableAdapter(); Repeater5.DataSource = dr4.SertifikaBilgi(); Repeater5.DataBind(); DataSet1TableAdapters.TBLYeteneklerTableAdapter dr5 = new DataSet1TableAdapters.TBLYeteneklerTableAdapter(); Repeater6.DataSource = dr5.YetenekBilgi(); Repeater6.DataBind(); DataSet1TableAdapters.TBLHakkimdaTableAdapter dr7 = new DataSet1TableAdapters.TBLHakkimdaTableAdapter(); Repeater7.DataSource = dr7.HakkimdaListele(); Repeater7.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { if (Session["KullaniciAd"] == null) { Response.Redirect("LoginPanel.aspx"); } else { Response.Write("Hoşgeldiniz...." + Session["KullaniciAd"].ToString()); } if (Page.IsPostBack == false) { DataSet1TableAdapters.TBLHakkimdaTableAdapter dr = new DataSet1TableAdapters.TBLHakkimdaTableAdapter(); TextBox1.Text = dr.HakkimdaListele()[0].AD; TextBox2.Text = dr.HakkimdaListele()[0].SOYAD; TextBox3.Text = dr.HakkimdaListele()[0].ADRES; TextBox4.Text = dr.HakkimdaListele()[0].MAIL; TextBox5.Text = dr.HakkimdaListele()[0].TELEFON; TextBox6.Text = dr.HakkimdaListele()[0].KISANOT; TextBox7.Text = dr.HakkimdaListele()[0].FOTOGRAF; } }