protected void Page_Load(object sender, EventArgs e)
        {
            ServiceReference2.Iwcf_serviceClient ser = new ServiceReference2.Iwcf_serviceClient();

            ServiceReference2.UserClass user = new ServiceReference2.UserClass();
            if (Login_Form.emaill == "")
            {
                user = ser.ViewProfile(callback.emaill);
            }
            else
            {
                user = ser.ViewProfile(Login_Form.emaill);
            }
            Label1.Text = user.email;
            Label2.Text = user.name;
            Label3.Text = (user.age).ToString();
            Label4.Text = (user.weight).ToString();
            Label5.Text = (user.gender).ToString();
        }
        private void GetData()
        {
            ServiceReference2.Iwcf_serviceClient s = new ServiceReference2.Iwcf_serviceClient();
            //ServiceReference2.WCFServiceClient s = new WcfService.WCFServiceClient();

            ServiceReference2.UserClass user = new ServiceReference2.UserClass();
            if (Login_Form.emaill == "")
            {
                user = s.ViewProfile(callback.emaill);
            }
            else
            {
                user = s.ViewProfile(Login_Form.emaill);
            }

            TextBox_email.Text  = user.email;
            TextBox_Name.Text   = user.name;
            TextBox_age.Text    = (user.age).ToString();
            TextBox_weight.Text = (user.weight).ToString();
            TextBox_Gender.Text = (user.gender).ToString();
            TextBox_pass.Text   = (user.password).ToString();
        }