コード例 #1
0
 protected void editParentesco_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.editParentesco(new SCPM_PARENTESCOS()
     {
         PARE_ID = Convert.ToInt32(comboParentesco.SelectedValue), PARE_NOM = inParentesco.Text, PARE_EST = onParentesco.Checked
     }))
     {
         fillPArentesco();
         HelperUtil.showNotifi("editado");
     }
     else
     {
         HelperUtil.showNotifi("no editado");
     }
 }
コード例 #2
0
 protected void editParentesco_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.editParentesco(new SCPM_PARENTESCOS() { PARE_ID = Convert.ToInt32(comboParentesco.SelectedValue), PARE_NOM = inParentesco.Text, PARE_EST = onParentesco.Checked }))
     {
         fillPArentesco();
         HelperUtil.showNotifi("editado");
     }
     else
         HelperUtil.showNotifi("no editado");
 }