protected void btnSearch_Click(object sender, EventArgs e)
 {
     PanelResult.Visible = true;
     AddSearchRef.AddSearchWebService s = new AddSearchRef.AddSearchWebService();
     switch (DropDownList1.SelectedValue)
     {
         case "Phone Number":
             {
                 if (s.SearchByPhone(txtboxSearchPhoneNO.Text) != "")
                     lblResultFN.Text = s.SearchByPhone(txtboxSearchPhoneNO.Text);
                 else
                     lblResultFN.Text = "Not Found!";
                 lblResultPhN.Text = txtboxSearchPhoneNO.Text;
                 break;
             }
         case "Last name":
             {
                 if (s.SearchByName(txtboxSearchLastname.Text) != "")
                     lblResultPhN.Text = s.SearchByName(txtboxSearchLastname.Text);
                 else
                     lblResultPhN.Text = "Not Found!";
                 lblResultFN.Text = txtboxSearchLastname.Text;
                 break;
             }
     }
 }