protected void Page_Load(object sender, EventArgs e)
        {
            //userID = Convert.ToInt32(Request.Cookies.Get(0).Value);
            //userID = 1012;//kc testing
            userID = Convert.ToInt32(Request.QueryString["userID"]);
            int count = Request.Cookies.Count;

            fifthInjury.Text = "test" + userID + "-" + count;
            Chart.Series["Series1"].YValueMembers  = "# of Activities";
            Chart.Series["Series1"].XValueMember   = "# of Weeks";
            Chart1.Series["Series1"].YValueMembers = "# of Activities";
            Chart1.Series["Series1"].XValueMember  = "# of Weeks";
            Chart2.Series["Series1"].YValueMembers = "# of Activities";
            Chart2.Series["Series1"].XValueMember  = "# of Weeks";
            Chart3.Series["Series1"].YValueMembers = "# of Activities";
            Chart3.Series["Series1"].XValueMember  = "# of Weeks";
            try
            {
                Chart.DataSource  = dbObject.GetActivityData(userID, 1, "strength");
                Chart1.DataSource = dbObject.GetActivityData(userID, 1, "cardio");
                Chart2.DataSource = dbObject.GetActivityData(userID, 1, "health");
                Chart3.DataSource = dbObject.GetActivityData(userID, 1, "sleep");
            }
            catch (NullReferenceException ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.Message);
                Response.Redirect("Login.aspx");
            }
            Chart.DataBind();
            Chart1.DataBind();
            Chart2.DataBind();
            Chart3.DataBind();

            showInjuries();
            showWorkout();
            foreach (string name in HealthInputSessionVariables.Activity.Keys)
            {
                foreach (float value in HealthInputSessionVariables.Activity.Values)
                {
                    Label myLabel = new Label();
                    myLabel.ID   = "lbl" + name;
                    myLabel.Text = value.ToString();
                }
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            Chart.Series["Series1"].YValueMembers  = "# of Activities";
            Chart.Series["Series1"].XValueMember   = "# of Weeks";
            Chart1.Series["Series1"].YValueMembers = "# of Activities";
            Chart1.Series["Series1"].XValueMember  = "# of Weeks";
            Chart2.Series["Series1"].YValueMembers = "# of Activities";
            Chart2.Series["Series1"].XValueMember  = "# of Weeks";
            Chart3.Series["Series1"].YValueMembers = "# of Activities";
            Chart3.Series["Series1"].XValueMember  = "# of Weeks";
            try
            {
                Chart.DataSource  = dbObject.GetActivityData(((SessionData)Session["User_Data"])._loginID, 1, "strength");
                Chart1.DataSource = dbObject.GetActivityData(((SessionData)Session["User_Data"])._loginID, 1, "cardio");
                Chart2.DataSource = dbObject.GetActivityData(((SessionData)Session["User_Data"])._loginID, 1, "health");
                Chart3.DataSource = dbObject.GetActivityData(((SessionData)Session["User_Data"])._loginID, 1, "sleep");
            }
            catch (NullReferenceException ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.Message);
                Response.Redirect("Login.aspx");
            }
            Chart.DataBind();
            Chart1.DataBind();
            Chart2.DataBind();
            Chart3.DataBind();

            showInjuries();
            showWorkout();



            if (!IsPostBack)
            {
                dictInjury.Add("Head", 0);
                dictInjury.Add("Right Shoulder", 0);
                dictInjury.Add("Right Elbow", 0);
                dictInjury.Add("Right Hand", 0);
                dictInjury.Add("Right Knee", 0);
                dictInjury.Add("Right Foot", 0);
                dictInjury.Add("Abdomen", 0);
                dictInjury.Add("Left Shoulder", 0);
                dictInjury.Add("Left Elbow", 0);
                dictInjury.Add("Left Knee", 0);
                dictInjury.Add("Left Foot", 0);
                dictInjury.Add("Neck", 0);
                dictInjury.Add("Left Shoulder Blade", 0);
                dictInjury.Add("Left Forearm", 0);
                dictInjury.Add("Lumbar", 0);
                dictInjury.Add("Thoracic", 0);
                dictInjury.Add("Left Heel", 0);
                dictInjury.Add("Right Heel", 0);
                dictInjury.Add("Right Shoulder Blade", 0);
                dictInjury.Add("Right Forearm", 0);
                dictInjury.Add("Left Hand", 0);
            }

            foreach (string name in HealthInputSessionVariables.Activity.Keys)
            {
                foreach (float value in HealthInputSessionVariables.Activity.Values)
                {
                    Label myLabel = new Label();
                    myLabel.ID   = "lbl" + name;
                    myLabel.Text = value.ToString();
                }
            }
        }