Hello,
<connectionStrings>
<add name="ConStrOrcl" connectionString="Driver=ODBCDriver;Data Source=localhost:1521/orcl;User Id=uid;Password=pwd" providerName="System.Data.Odbc"/>
</connectionStrings>
string CS = ConfigurationManager.ConnectionStrings["ConStrOrcl"].ConnectionString;
OdbcConnection con = new OdbcConnection(CS);
OdbcCommand cmd = new OdbcCommand ("select Id, CityName, Country from nha.tblCity", con);
con.Open();