Trying to set the width from the page
<pre><code>if ((bool)Session["Conect"])
{
    logdiv.Visible = false;
    Usernamec.InnerHtml = (string)Session["CurentUserid"];
    Connected.Visible = true;
    SqlCommand exp = new SqlCommand("SELECT xp FROM[User] Where Username = @username", c);
    exp.Parameters.AddWithValue("@username", (string)Session["CurentUserid"]);
    c.Open();
    Session["exp"] = (int)exp.ExecuteScalar();
    c.Close();
    int b = (int)Session["exp"] / 3;
    string a = b + "%";
    xp.Style.Add("width", a);
}
</code></pre>

<p>why it is not working?
(not an eror the width does not change...)</p>