Exemplo n.º 1
0
 protected void addParentesco_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.addParentesco(new SCPM_PARENTESCOS() { PARE_NOM = inParentesco.Text, PARE_EST = onParentesco.Checked }))
     {
         fillPArentesco();
         HelperUtil.showNotifi("añadido");
     }
     else
         HelperUtil.showNotifi("no añadido");
 }
Exemplo n.º 2
0
 protected void addParentesco_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.addParentesco(new SCPM_PARENTESCOS()
     {
         PARE_NOM = inParentesco.Text, PARE_EST = onParentesco.Checked
     }))
     {
         fillPArentesco();
         HelperUtil.showNotifi("añadido");
     }
     else
     {
         HelperUtil.showNotifi("no añadido");
     }
 }