Beispiel #1
0
        public void create(string id, string fname, string lname, string age)
        {
            dao = DAO.ini(DaoName);
            int tmp_id  = Int32.Parse(id);
            int tmp_age = Int32.Parse(age);

            dao.create(new Person(tmp_id, fname, lname, tmp_age));
        }
Beispiel #2
0
 protected void btnCreate_Click(object sender, EventArgs e)
 {
     dao.create(targetPerson());
     rp.DataSource = dao.read();
     rp.DataBind();
 }