Exemplo n.º 1
0
 protected void editDocumento_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.editDocumento(new SCPM_TIPO_IDENTIFICACIONES()
     {
         TIP_IDE_COD = Convert.ToInt32(comboDocumento.SelectedValue), TIP_IDE_NOM = inDocumento.Text, TIP_IDE_EST = onDocumento.Checked
     }))
     {
         fillDocumento();
         HelperUtil.showNotifi("editado");
     }
     else
     {
         HelperUtil.showNotifi("no editado");
     }
 }
Exemplo n.º 2
0
 protected void editDocumento_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.editDocumento(new SCPM_TIPO_IDENTIFICACIONES() { TIP_IDE_COD = Convert.ToInt32(comboDocumento.SelectedValue), TIP_IDE_NOM = inDocumento.Text, TIP_IDE_EST = onDocumento.Checked }))
     {
         fillDocumento();
         HelperUtil.showNotifi("editado");
     }
     else
         HelperUtil.showNotifi("no editado");
 }