title: Escape ;(semicolon) in odbc connection string in app.config file
body: <p>I have created a windows form with certain fields. I am trying to interact with oracle database through ODBC DSN connections.</p>
  
  <p>I have an issue in the below connection string in app.config .</p>
  
  <p>In the connection string password contains semicolon(here abc;45). I am getting an error: </p>
  
  <p><code>"Format of the initialization string does not conform to specification starting at index 35"</code> </p>
  
  <p>while i am trying to access this connection string using</p>
  
  <p><code>OdbcConnection connection = new OdbcConnection(connection_string);</code> </p>
  
  <p>in C# code.</p>
  
  <p>Below is my connection string.</p>
  
  <pre><code>&lt;add name="ConnectionString_T1" connectionString="DSN=CLA_T5;Uid=abc;Pwd=abc;45" providerName="System.Data.Odbc" /&gt;
  
   OdbcConnection connection = new OdbcConnection(connection_string);
  </code></pre>
  
  <p>PS: I tried putting this password in double quotes/single quote/&quot; . But no use. Still facing this error. I have tried putting all the escape sequences like &quot;,double quote, single quote,/" etc..</p>