protected void Page_Load(object sender, EventArgs e)
        {
            short id = short.Parse(Request.QueryString["id"]);

            DataSet1TableAdapters.tblYetenekTableAdapter dt = new DataSet1TableAdapters.tblYetenekTableAdapter();
            dt.YetenekSil(id);
            Response.Redirect("adminYetenekler.aspx");
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            //Hakkımda
            DataSet1TableAdapters.tblHakkimdaTableAdapter dt = new DataSet1TableAdapters.tblHakkimdaTableAdapter();
            Repeater1.DataSource = dt.hakkimdaListele();
            Repeater1.DataBind();

            //Deneyim
            DataSet1TableAdapters.tblDeneyimTableAdapter dt2 = new DataSet1TableAdapters.tblDeneyimTableAdapter();
            Repeater2.DataSource = dt2.DeneyimListele();
            Repeater2.DataBind();

            //Eğitim
            DataSet1TableAdapters.tblEgitmTableAdapter dt3 = new DataSet1TableAdapters.tblEgitmTableAdapter();
            Repeater3.DataSource = dt3.EgitimListele();
            Repeater3.DataBind();

            //Yetenek
            DataSet1TableAdapters.tblYetenekTableAdapter dt4 = new DataSet1TableAdapters.tblYetenekTableAdapter();
            Repeater4.DataSource = dt4.YetenekListesi();
            Repeater4.DataBind();

            //Hobi
            DataSet1TableAdapters.tblHobiTableAdapter dt5 = new DataSet1TableAdapters.tblHobiTableAdapter();
            Repeater5.DataSource = dt5.HobiListesi();
            Repeater5.DataBind();

            //Sertifika
            DataSet1TableAdapters.tblSertifikalarTableAdapter dt6 = new DataSet1TableAdapters.tblSertifikalarTableAdapter();
            Repeater6.DataSource = dt6.SertifikaListesi();
            Repeater6.DataBind();

            //Fotoğraf
            DataSet1TableAdapters.tblAdminTableAdapter dt7 = new DataSet1TableAdapters.tblAdminTableAdapter();
            Repeater7.DataSource = dt7.KullaniciListesi();
            Repeater7.DataBind();
        }
Exemple #3
0
 protected void btnEkle_Click(object sender, EventArgs e)
 {
     DataSet1TableAdapters.tblYetenekTableAdapter dt = new DataSet1TableAdapters.tblYetenekTableAdapter();
     dt.YetenekEkle(txtYetenek.Text);
     Response.Redirect("adminYetenekler.aspx");
 }
Exemple #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     DataSet1TableAdapters.tblYetenekTableAdapter dt = new DataSet1TableAdapters.tblYetenekTableAdapter();
     Repeater1.DataSource = dt.YetenekListesi();
     Repeater1.DataBind();
 }