Exemplo n.º 1
0
 private void m_cmd_insert_Click(object sender, EventArgs e)
 {
     try{
         m_us.dcID_LOAI_TU_DIEN = LOAI_TU_DIEN_ID.PHONG_BAN_NOI_BO;
         f102_TuDien_DE v_f102_detail = new f102_TuDien_DE();
         v_f102_detail.InsertObj(m_us);
         load_data_2_grid();
     }
     catch (Exception v_e) {
         CSystemLog_100.ExceptionHandle(v_e);
     }
 }
Exemplo n.º 2
0
 private void m_cmd_update_Click(object sender, EventArgs e)
 {
     try{
         grid2us_object(m_us, m_fg.Row);
         f102_TuDien_DE v_f102_detail = new f102_TuDien_DE();
         v_f102_detail.UpdateObj(m_us);
         load_data_2_grid();
         load_data_2_grid_nguoi_dai_dien(m_us.dcID);
     }
     catch (Exception v_e) {
         CSystemLog_100.ExceptionHandle(v_e);
     }
 }