Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void btnExecuteSR_Click(object sender, EventArgs e)
- {
- try
- {
- NAEmployeeExtractClient client = new NAEmployeeExtractClient();
- EmpExtract oEmpExtract = new EmpExtract();
- DATA_DSNA_EMPLOYEE_DATA[] arrEmployee = null;
- client.ClientCredentials.UserName.UserName = "user";
- client.ClientCredentials.UserName.Password = "password";
- oEmpExtract.LegalEmployer = "PARAM";
- arrEmployee = client.process(oEmpExtract);
- MessageBox.Show("Success!!", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
- }
- catch (Exception ex)
- {
- MessageBox.Show(ex.Message, "Message", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
- }
- }
Add Comment
Please, Sign In to add comment