Пример #1
0
 private void frmEditMember_Load(object sender, EventArgs e)
 {
     obj_memberBAL            = new memberBAL(Properties.Settings.Default.conasli);
     entMember                = new EntMember();
     bs_member.DataSource     = obj_memberBAL.fill();
     DataGridView1.DataSource = bs_member;
     btn_browse.Enabled       = btn_delete.Enabled = btn_update.Enabled = false;
 }
Пример #2
0
 private void frmMember_Load(object sender, EventArgs e)
 {
     obj_member = new memberBAL(Properties.Settings.Default.conasli);
     entMember  = new EntMember();
     DataGridView1.DataSource = obj_member.fill();
 }
Пример #3
0
 public void update(EntMember entMember)
 {
     obj_memberDAL.update_member(entMember);
 }
Пример #4
0
 public void update_member(EntMember pmember)
 {
     memberTA.spUpdateMember(pmember.m_code, pmember.m_fname, pmember.m_lname, pmember.m_sh, pmember.m_father,
                             pmember.m_birthday, pmember.m_gride, pmember.m_ozviat, pmember.m_zamen, pmember.m_zamenTell,
                             pmember.m_address, pmember.m_tell, pmember.m_pic);
 }
Пример #5
0
 public void insert(EntMember entMember)
 {
     obj_memberDAL.insert_member(entMember);
 }