title: Error when I add connection string in a UserControl
body: <p>I am facing a weird problem, I am trying to create Usercontrol (Add_companies)and add it to panel 
  Everything work fine but when I add the connection to the user control I face this error :</p>
  
  <p>The variable 'Add_companies1' is either undeclared or was never assigned. </p>
  
  <p>And this is my connection:</p>
  
  <pre><code>Protected configuracion As ConnectionStringSettings = ConfigurationManager.ConnectionStrings("Conn")
  Dim Conn As New SqlConnection(configuracion.ConnectionString)
  Public Cmd As SqlCommand
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/rVLe2.png" rel="nofollow">Error one image</a></p>
  
  <p><a href="http://i.stack.imgur.com/qWRgw.png" rel="nofollow">where the error code must be</a></p>
  
  <p>and when i go to the code line error there's nothing.</p>