Example #1
0
        protected void BtnHobiEkle_Click(object sender, EventArgs e)
        {
            DataSet1TableAdapters.Tbl_HobilerTableAdapter dt = new DataSet1TableAdapters.Tbl_HobilerTableAdapter();
            dt.HobiEkle(TxtHobi.Text);

            Response.Redirect("AdminHobi.aspx");
        }
Example #2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            DataSet1TableAdapters.Tbl_HobilerTableAdapter dt = new DataSet1TableAdapters.Tbl_HobilerTableAdapter();
            dt.HobiGuncelle(TxtHobi.Text, Convert.ToInt16(Txtid.Text));

            Response.Redirect("AdminHobi.aspx");
        }
Example #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int i = Convert.ToInt16(Request.QueryString["id"]);

            DataSet1TableAdapters.Tbl_HobilerTableAdapter dt = new DataSet1TableAdapters.Tbl_HobilerTableAdapter();
            dt.HobiSil(Convert.ToInt16(i));

            Response.Redirect("AdminHobi.aspx");
        }
Example #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int i = Convert.ToInt16(Request.QueryString["id"]);

            Txtid.Text    = i.ToString();
            Txtid.Enabled = false;

            if (Page.IsPostBack == false)
            {
                DataSet1TableAdapters.Tbl_HobilerTableAdapter dt = new DataSet1TableAdapters.Tbl_HobilerTableAdapter();
                TxtHobi.Text = dt.HobiGetir(Convert.ToInt16(i))[0].Hobi;
            }
        }
Example #5
0
        protected void Page_Load(object sender, EventArgs e)
        {
            //Hakkımızda Kısmını Listeleme
            DataSet1TableAdapters.Tbl_HakkimdaTableAdapter db = new DataSet1TableAdapters.Tbl_HakkimdaTableAdapter();
            Repeater1.DataSource = db.HakkimdaListele();
            Repeater1.DataBind();

            //Deneyimlerim Kısmını Listeleme
            DataSet1TableAdapters.Tbl_DeneyimTableAdapter db2 = new DataSet1TableAdapters.Tbl_DeneyimTableAdapter();
            Repeater2.DataSource = db2.DeneyimListesi();
            Repeater2.DataBind();

            //Eğitim Kismını Listeleme
            DataSet1TableAdapters.Tbl_EgitimTableAdapter db3 = new DataSet1TableAdapters.Tbl_EgitimTableAdapter();
            Repeater3.DataSource = db3.EgitimListesi();
            Repeater3.DataBind();

            //Hobi Kısmını Listeleme
            DataSet1TableAdapters.Tbl_HobilerTableAdapter db4 = new DataSet1TableAdapters.Tbl_HobilerTableAdapter();
            Repeater4.DataSource = db4.HobiListesi();
            Repeater4.DataBind();

            //Konferans Kısmını Listeleme
            DataSet1TableAdapters.Tbl_KonferanslarTableAdapter db5 = new DataSet1TableAdapters.Tbl_KonferanslarTableAdapter();
            Repeater5.DataSource = db5.KonferansListesi();
            Repeater5.DataBind();

            //Yetenek Kısmını Listeleme
            DataSet1TableAdapters.Tbl_YeteneklerTableAdapter db6 = new DataSet1TableAdapters.Tbl_YeteneklerTableAdapter();
            Repeater6.DataSource = db6.YetenekListesi();
            Repeater6.DataBind();

            // Resim Ekleme
            DataSet1TableAdapters.Tbl_HakkimdaTableAdapter dt7 = new DataSet1TableAdapters.Tbl_HakkimdaTableAdapter();
            Repeater7.DataSource = dt7.HakkimdaListele();
            Repeater7.DataBind();
        }