protected void Page_Load(object sender, EventArgs e) { List <ENTITYPERSONEL> perlist = BLLPERSONEL.PERLISTE(); Repeater1.DataSource = perlist; Repeater1.DataBind(); }
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"); }