Esempio n. 1
0
 private void txtMariedPlace_Leave(object sender, EventArgs e)
 {
     if (familyId == -1)
     {
         familyId = DBAccessStatic.InsertFamily(husbandId, wifeId, txtMarriedDate.Text, txtMariedPlace.Text);
     }
     else
     {
         DBAccessStatic.UpdateFamilyMarriagePlace(familyId, txtMariedPlace.Text);
     }
 }