private void btnsave_Click(object sender, EventArgs e)
        {
            Guard_Employment_Records.UPDATE_GUARD_CHILDREN_DETAILS("UPDATE_GUARD_CHILDREN_DETAILS", txt_guard_number.Text, txt_child_1_name.Text, txt_child_1_contact.Text, //function updates father details...although arguments remain unchanged
                                                                   txt_child_2_name.Text, txt_child_2_contact.Text, txt_child_3_name.Text, txt_child_3_contact.Text, txt_child_4_name.Text,
                                                                   txt_child_4_contact.Text);

            RETURN_GUARD_DETAILS(txt_guard_number.Text);
        }
Esempio n. 2
0
 private void btnsave_Click(object sender, EventArgs e)
 {
     Guard_Employment_Records.UPDATE_GUARD_CHILDREN_DETAILS("UPDATE_GUARD_CHILDREN_DETAILS", this.txt_guard_number.Text, this.txt_child_1_name.Text, this.txt_child_1_contact.Text, this.txt_child_2_name.Text, this.txt_child_2_contact.Text, this.txt_child_3_name.Text, this.txt_child_3_contact.Text, this.txt_child_4_name.Text, this.txt_child_4_contact.Text);
     this.RETURN_GUARD_DETAILS(this.txt_guard_number.Text);
 }