Ejemplo n.º 1
0
 protected void editSector_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.editSector(new SCPM_SECTORES()
     {
         SEC_ID = Convert.ToInt32(comboSector.SelectedValue), SEC_NOM = inSector.Text, SEC_EST = onSector.Checked
     }, Convert.ToInt32(ComboParroquia.SelectedValue)))
     {
         fillSectores();
         HelperUtil.showNotifi("editado");
     }
     else
     {
         HelperUtil.showNotifi("no editado");
     }
 }
Ejemplo n.º 2
0
 protected void editSector_Click(object sender, EventArgs e)
 {
     psvm = new PersonaServiceModel();
     if (psvm.editSector(new SCPM_SECTORES() { SEC_ID = Convert.ToInt32(comboSector.SelectedValue), SEC_NOM = inSector.Text, SEC_EST = onSector.Checked }, Convert.ToInt32(ComboParroquia.SelectedValue)))
     {
         fillSectores();
         HelperUtil.showNotifi("editado");
     }
     else
         HelperUtil.showNotifi("no editado");
 }