Ejemplo n.º 1
0
 protected void addDocumento_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.addDocumento(new SCPM_TIPO_IDENTIFICACIONES() { TIP_IDE_NOM = inDocumento.Text, TIP_IDE_EST = onDocumento.Checked }))
     {
         fillDocumento();
         HelperUtil.showNotifi("añadido");
     }
     else
         HelperUtil.showNotifi("no añadido");
 }
Ejemplo n.º 2
0
 protected void addDocumento_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.addDocumento(new SCPM_TIPO_IDENTIFICACIONES()
     {
         TIP_IDE_NOM = inDocumento.Text, TIP_IDE_EST = onDocumento.Checked
     }))
     {
         fillDocumento();
         HelperUtil.showNotifi("añadido");
     }
     else
     {
         HelperUtil.showNotifi("no añadido");
     }
 }