web.config
<connectionStrings>
<add name="Conn" connectionString="Dsn=odbc_OnlineAcc;uid=sa;pwd=12345" providerName="System.Data.Odbc"/>
</connectionStrings>
C#
string connect =ConfigurationManager.AppSettings["Conn"];
OdbcConnection odbcConnection = new OdbcConnection(connect);
odbcConnection.Open();
error message is "connection property is not initiated";
How can I solve it?
Thanks to all................