protected void Page_Load(object sender, EventArgs e) { DataSet1TableAdapters.HAKKIMDATableAdapter dt = new DataSet1TableAdapters.HAKKIMDATableAdapter(); Repeater1.DataSource = dt.HakkımdaListele(); Repeater1.DataBind(); DataSet1TableAdapters.DENEYIMTableAdapter dt1 = new DataSet1TableAdapters.DENEYIMTableAdapter(); Repeater2.DataSource = dt1.DeneyimListele(); Repeater2.DataBind(); DataSet1TableAdapters.EGITIMTableAdapter dt2 = new DataSet1TableAdapters.EGITIMTableAdapter(); Repeater3.DataSource = dt2.EgitimListesi(); Repeater3.DataBind(); DataSet1TableAdapters.YETENEKLERTableAdapter dt3 = new DataSet1TableAdapters.YETENEKLERTableAdapter(); Repeater4.DataSource = dt3.YetenekListele(); Repeater4.DataBind(); DataSet1TableAdapters.HOBILERTableAdapter dt4 = new DataSet1TableAdapters.HOBILERTableAdapter(); Repeater5.DataSource = dt4.HobiListesi(); Repeater5.DataBind(); DataSet1TableAdapters.KONFERANSTableAdapter dt5 = new DataSet1TableAdapters.KONFERANSTableAdapter(); Repeater6.DataSource = dt5.KonferansListele(); Repeater6.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { int id = Convert.ToInt32(Request.QueryString["ID"]); DataSet1TableAdapters.HOBILERTableAdapter dt = new DataSet1TableAdapters.HOBILERTableAdapter(); dt.HobiSil(id); Response.Redirect("AdminHobiler.aspx"); }
protected void Page_Load(object sender, EventArgs e) { int id = Convert.ToInt32(Request.QueryString["ID"]); txtID.Text = id.ToString(); txtID.Enabled = false; if (Page.IsPostBack == false) { DataSet1TableAdapters.HOBILERTableAdapter dt = new DataSet1TableAdapters.HOBILERTableAdapter(); txtHobi.Text = dt.HobiGetir(Convert.ToInt32(id))[0].Hobi; } }
protected void Button1_Click(object sender, EventArgs e) { DataSet1TableAdapters.HOBILERTableAdapter dt = new DataSet1TableAdapters.HOBILERTableAdapter(); dt.HobiGuncelle(txtHobi.Text, Convert.ToInt32(txtID.Text)); Response.Redirect("AdminHobiler.aspx"); }
protected void Button1_Click(object sender, EventArgs e) { DataSet1TableAdapters.HOBILERTableAdapter dt = new DataSet1TableAdapters.HOBILERTableAdapter(); dt.HobiEkle(txtHobi.Text); Response.Redirect("AdminHobiler.aspx"); }
protected void Page_Load(object sender, EventArgs e) { DataSet1TableAdapters.HOBILERTableAdapter dt = new DataSet1TableAdapters.HOBILERTableAdapter(); Repeater1.DataSource = dt.HobiListele(); Repeater1.DataBind(); }