Exemple #1
0
        protected void GetEmployee_Click(object sender, EventArgs e)
        {
            ETBOSSService.ETBOSSServiceClient client   = new ETBOSSService.ETBOSSServiceClient("BasicHttpBinding_IETBOSSService");
            ETBOSSService.Employee            employee = client.GetEmployee(Convert.ToInt32(txtID.Text));
            txtID.Text   = employee.Id.ToString();
            txtName.Text = employee.Name;
            txtDob.Text  = employee.Dob.ToString();

            Label1.Text = "Get employee done.";
        }