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; }
private void frmMember_Load(object sender, EventArgs e) { obj_member = new memberBAL(Properties.Settings.Default.conasli); entMember = new EntMember(); DataGridView1.DataSource = obj_member.fill(); }
public void update(EntMember entMember) { obj_memberDAL.update_member(entMember); }
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); }
public void insert(EntMember entMember) { obj_memberDAL.insert_member(entMember); }