title: if (!IsPostBack) not working with 2nd language
body: <p>I have 2 tables in my page.
  I can select between those 2, to choice the language.</p>
  
  <p>In my code I have this:</p>
  
  <pre><code>    public partial class _Default : System.Web.UI.Page
  {
      protected void Page_Load(object sender, EventArgs e)
      {
          username.Text = "[" + HttpContext.Current.User.Identity.Name + "]"; // identifica o user ligado
          useren.Text = "[" + HttpContext.Current.User.Identity.Name + "]";
  
          if (!IsPostBack)
          {
              string sFilePath = Server.MapPath("Database3.accdb");
              OleDbConnection Conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + sFilePath + ";Persist Security Info=False;");
              using (Conn)
              {
                  Conn.Open();
                  OleDbCommand myCommand = new OleDbCommand("SELECT COUNT(*) FROM colaborador WHERE username=@username", Conn);
                  myCommand.Parameters.Add("?", OleDbType.VarChar).Value = HttpContext.Current.User.Identity.Name;
                  int totalRegistos = (int)myCommand.ExecuteScalar();
                  if (totalRegistos &gt; 0)
                  {
                          // Já registado
                          lblInfo0.Text = "O username já existe na base de dados";
                          Label1.Text = "You already answered before";
                          empresa.Enabled = false;
                          empresa2.Enabled = false;
                          telemovel.Enabled = false;
                          cmdSave.Visible = false;
                          business.Enabled = false;
                          business2.Enabled = false;
                          mobile.Enabled = false;
                          cmdSave.Visible = false;
                  }
              }
          }
  
  
  
      }
  
      // gravar na base de dados PT
      protected void cmdSave_Click(object sender, EventArgs e)
      {
          string sFilePath = Server.MapPath("Database3.accdb");
          OleDbConnection Conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + sFilePath + ";Persist Security Info=False;");
          string insertCmd = "INSERT INTO colaborador(Empresa,Empresa2,Telemovel,username) VALUES (@Empresa,@Empresa2,@Telemovel,@username)";
          using (Conn)     // insere na tabela colaborador os campos empresa, empres2, user os valores @ 
          {
              Conn.Open();
              OleDbCommand myCommand = new OleDbCommand(insertCmd, Conn);
              myCommand.Parameters.AddWithValue("@Empresa", empresa.Text);
              myCommand.Parameters.AddWithValue("@Empresa2", empresa2.Text);
              myCommand.Parameters.AddWithValue("@Telemovel", telemovel.Text);
              myCommand.Parameters.AddWithValue("@username", HttpContext.Current.User.Identity.Name);
              Response.Write(" ");
              myCommand.ExecuteNonQuery();
              lblInfo.Text = "Dados guardados!";
              lblInfo.ForeColor = System.Drawing.Color.Green;
          }
      }  
  
  
  
  
      // gravar na base de dados EN
      protected void cmdSave_Click2(object sender, EventArgs e)
      {
          string sFilePath = Server.MapPath("Database3.accdb");
          OleDbConnection Conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + sFilePath + ";Persist Security Info=False;");
          string insertCmd = "INSERT INTO colaborador(Empresa,Empresa2,Telemovel,username) VALUES (@Empresa,@Empresa2,@Telemovel,@useren)";
          using (Conn)
          {
              Conn.Open();
              OleDbCommand myCommand = new OleDbCommand(insertCmd, Conn);
              myCommand.Parameters.AddWithValue("@Empresa", business.Text);
              myCommand.Parameters.AddWithValue("@Empresa2", business2.Text);
              myCommand.Parameters.AddWithValue("@Telemovel", mobile.Text);
              myCommand.Parameters.AddWithValue("@useren", HttpContext.Current.User.Identity.Name); 
              myCommand.ExecuteNonQuery(); 
              Label1.Text = "Saved Successfull!";
              Label1.ForeColor = System.Drawing.Color.Green;
          }
      }
  }
  </code></pre>
  
  <p>It's working. In both language the user can do the insert into the db. With the main language the user can even know if he already answered. Although when I select the 2nd language I can't get the <code>if (!IsPostBack)</code></p>
  
  <p>How can I fix my code?</p>