private void GetUserPlacementInfoById(string UserId)
        {
            try
            {
                UserAccountBLL userAccount = new UserAccountBLL();
                DataTable dt = userAccount.GetUserPlacementInfoById(UserId);
                if (dt.Rows.Count > 0)
                {
                    if (dt.Rows[0]["StakeId"].ToString() == "")
                    {
                        txtbxPlacementId.Text = dt.Rows[0]["PleacementId"].ToString();
                        txtbxReferId.Text = dt.Rows[0]["RefferId"].ToString();
                        ddlPosition.SelectedValue = dt.Rows[0]["PlacePosition"].ToString();

                        UserBLL userBll = new UserBLL();
                        dt = userBll.GetUserInfoById(txtbxReferId.Text);
                        if (dt.Rows.Count > 0)
                        {
                            hdnfldRefActive.Value = dt.Rows[0]["IsActive"].ToString();
                        }
                    }
                    else
                    {
                        txtbxStakeKey.Enabled = false;
                        btnActivation.Enabled = false;
                        string message = " <span class='actionTopic'> Your Account is Already Activated successfully. Thanks" + "</span>.";
                        MyAlertBox(
                            "var callbackOk = function () { window.location = \"/a/initialdata/initialDataElement.aspx\"; }; SuccessAlert(\"" +
                            "Process Succeed" + "\", \"" + message + "\", \"\");");

                    }
                }
                else
                {
                    // To do job
                }

            }
            catch (Exception)
            {

                //throw;
            }
        }