Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            List <ENTITYPERSONEL> perlist = BLLPERSONEL.PERLISTE();

            Repeater1.DataSource = perlist;
            Repeater1.DataBind();
        }
Example #2
0
        protected void Unnamed1_Click(object sender, EventArgs e)
        {
            ENTITYPERSONEL ent = new ENTITYPERSONEL();

            ent.Personelad        = TextBox1.Text;
            ent.Personelsoyad     = TextBox2.Text;
            ent.Personelmaas      = Convert.ToDecimal(TextBox3.Text);
            ent.Personeldepartman = Convert.ToByte(DropDownList1.SelectedValue);

            BLLPERSONEL.PERSONELEKLE(ent);
            Response.Redirect("Personel.aspx");
        }