private void btnsave_Click(object sender, EventArgs e) { Guard_Employment_Records.UPDATE_GUARD_REFFERENCES("UPDATE_GUARD_REFFERENCES", txt_guard_number.Text, txt_ref_1.Text, txt_ref_2.Text, //function updates father details...although arguments remain unchanged txt_ref_3.Text); RETURN_GUARD_DETAILS(txt_guard_number.Text); }
private void btnsave_Click(object sender, EventArgs e) { Guard_Employment_Records.UPDATE_GUARD_REFFERENCES("UPDATE_GUARD_REFFERENCES", this.txt_guard_number.Text, this.txt_ref_1.Text, this.txt_ref_2.Text, this.txt_ref_3.Text); this.RETURN_GUARD_DETAILS(this.txt_guard_number.Text); }