コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     DataSet1TableAdapters.TBLHOBILERTableAdapter dt =
         new DataSet1TableAdapters.TBLHOBILERTableAdapter();
     Repeater1.DataSource = dt.HobiListele();
     Repeater1.DataBind();
 }
コード例 #2
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     DataSet1TableAdapters.TBLHOBILERTableAdapter dt =
         new DataSet1TableAdapters.TBLHOBILERTableAdapter();
     dt.HobiEkle(TextBox1.Text);
     Response.Redirect("AdminHobiler.aspx");
 }
コード例 #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            DataSet1TableAdapters.TBLHAKKIMDATableAdapter dt = new DataSet1TableAdapters.TBLHAKKIMDATableAdapter();
            Repeater1.DataSource = dt.HakkımdaListele();
            Repeater1.DataBind();

            DataSet1TableAdapters.TBLDENEYIMTableAdapter dt2 = new DataSet1TableAdapters.TBLDENEYIMTableAdapter();
            Repeater2.DataSource = dt2.DeneyimListesi();
            Repeater2.DataBind();

            DataSet1TableAdapters.TBLEGITIMTableAdapter dt3 = new DataSet1TableAdapters.TBLEGITIMTableAdapter();
            Repeater3.DataSource = dt3.EgitimListesi();
            Repeater3.DataBind();

            DataSet1TableAdapters.TBLYETENEKLERTableAdapter dt4 = new DataSet1TableAdapters.TBLYETENEKLERTableAdapter();
            Repeater4.DataSource = dt4.YetenekListesi();
            Repeater4.DataBind();

            DataSet1TableAdapters.TBLHOBILERTableAdapter dt5 = new DataSet1TableAdapters.TBLHOBILERTableAdapter();
            Repeater5.DataSource = dt5.HobiListesi();
            Repeater5.DataBind();

            DataSet1TableAdapters.TBLKULUPLERTableAdapter dt6 = new DataSet1TableAdapters.TBLKULUPLERTableAdapter();
            Repeater6.DataSource = dt6.KuluplerListesi();
            Repeater6.DataBind();

            DataSet1TableAdapters.TBLHAKKIMDATableAdapter dt7 = new DataSet1TableAdapters.TBLHAKKIMDATableAdapter();
            Repeater7.DataSource = dt7.HakkımdaListele();
            Repeater7.DataBind();
        }
コード例 #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int x = Convert.ToInt16(Request.QueryString["ID"]);

            DataSet1TableAdapters.TBLHOBILERTableAdapter dt = new DataSet1TableAdapters.TBLHOBILERTableAdapter();
            dt.HobiSil(Convert.ToInt16(x));
            Response.Redirect("HobiListesi.aspx");
        }
コード例 #5
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int x = Convert.ToInt16(Request.QueryString["ID"]);

            TxtID.Text    = x.ToString();
            TxtID.Enabled = false;

            if (Page.IsPostBack == false)
            {
                DataSet1TableAdapters.TBLHOBILERTableAdapter dt = new DataSet1TableAdapters.TBLHOBILERTableAdapter();
                TxtHobi.Text = dt.HobiGetir(Convert.ToInt16(TxtID.Text))[0].HOBI;
            }
        }
コード例 #6
0
 protected void Page_Load(object sender, EventArgs e)
 {
     DataSet1TableAdapters.TBLHAKKIMDATableAdapter dt = new DataSet1TableAdapters.TBLHAKKIMDATableAdapter();
     Repeater1.DataSource = dt.HakkimdaListele();
     Repeater1.DataBind();
     DataSet1TableAdapters.TBLDENEYIMTableAdapter dt2 = new DataSet1TableAdapters.TBLDENEYIMTableAdapter();
     Repeater2.DataSource = dt2.DeneyimListele();
     Repeater2.DataBind();
     DataSet1TableAdapters.TBLEGITIMTableAdapter dt3 = new DataSet1TableAdapters.TBLEGITIMTableAdapter();
     Repeater3.DataSource = dt3.EgitimListele();
     Repeater3.DataBind();
     DataSet1TableAdapters.TBLHOBILERTableAdapter dt4 = new DataSet1TableAdapters.TBLHOBILERTableAdapter();
     Repeater4.DataSource = dt4.HobiListele();
     Repeater4.DataBind();
     DataSet1TableAdapters.TBLSERTIFIKALARTableAdapter dt5 = new DataSet1TableAdapters.TBLSERTIFIKALARTableAdapter();
     Repeater5.DataSource = dt5.SertifikalarListele();
     Repeater5.DataBind();
     DataSet1TableAdapters.TBLYETENEKLERTableAdapter dt6 = new DataSet1TableAdapters.TBLYETENEKLERTableAdapter();
     Repeater6.DataSource = dt6.YeteneklerListele();
     Repeater6.DataBind();
 }
コード例 #7
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     DataSet1TableAdapters.TBLHOBILERTableAdapter dt = new DataSet1TableAdapters.TBLHOBILERTableAdapter();
     dt.HobiGuncelle(txthobi.Text, Convert.ToInt16(txtid.Text));
     Response.Redirect("AdminHobiler.aspx");
 }
コード例 #8
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     DataSet1TableAdapters.TBLHOBILERTableAdapter dt = new DataSet1TableAdapters.TBLHOBILERTableAdapter();
     dt.HobiGuncelle(TxtHobi.Text, Convert.ToInt16(TxtID.Text));
     Response.Redirect("HobiListesi.aspx");
 }