예제 #1
0
        private void btnsave_Click(object sender, EventArgs e)
        {
            Guard_Employment_Records.UPDATE_GUARD_FATHER_DETAILS("UPDATE_GUARD_FATHER_DETAILS", txt_guard_number.Text, txt_adress.Text, cbo_district.Text, //function updates father details...although arguments remain unchanged
                                                                 txt_county.Text, txt_sub_county.Text, txt_parish.Text, txt_village.Text, txt_zone.Text,
                                                                 txt_lc1_chairperson_name.Text, txt_lc1_chairperson_phone.Text, txt_neighbor_name.Text, txt_neighbor_phone.Text);

            RETURN_GUARD_DETAILS(txt_guard_number.Text);
        }
예제 #2
0
 private void btnsave_Click(object sender, EventArgs e)
 {
     Guard_Employment_Records.UPDATE_GUARD_FATHER_DETAILS("UPDATE_GUARD_FATHER_DETAILS", this.txt_guard_number.Text, this.txt_adress.Text, this.cbo_district.Text, this.txt_county.Text, this.txt_sub_county.Text, this.txt_parish.Text, this.txt_village.Text, this.txt_zone.Text, this.txt_lc1_chairperson_name.Text, this.txt_lc1_chairperson_phone.Text, this.txt_neighbor_name.Text, this.txt_neighbor_phone.Text);
     this.RETURN_GUARD_DETAILS(this.txt_guard_number.Text);
 }