title: change profile language
body: <p>Web.config</p>
  
  <pre><code>&lt;profile&gt;
        &lt;properties&gt;
        &lt;add name="Language"  /&gt;
        &lt;/properties&gt;
  &lt;/profile&gt;
  </code></pre>
  
  <p>Default.aspx.cs</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
      {
          Profile.Language = "fr";
          string strCultur = Profile.Language;
          Page.Culture = strCultur;
          Page.UICulture = strCultur;
          lblLabel.Text = GetLocalResourceObject("lblLabelResource1").ToString();
      }
  </code></pre>
  
  <p>App_LocaleResource:</p>
  
  <ul>
  <li>Default.aspx.resx</li>
  <li>Default.aspx.fr.resx</li>
  </ul>
  
  <p>This is my error:</p>
  
  <pre><code>Object reference not set to an instance of an object.
  </code></pre>
  
  <p>What do I wrong I want my text in french?</p>