<appSettings> <add key="ORACLEConnectionString" value="Provider=OraOLEDB.Oracle.1; Persist Security Info=False;Password=blah;User ID=greg;Data Source=sph;" /> <add key="SQLConnectionString" value="data source=SQL1;initial catalog=ID_V; integrated security=SSPI;persist security info=False;workstation id=TH03D374; packet size=4096"/> <appSettings>
string conn = ConfigurationSettings.AppSettings["ORACLEConnectionString"]; OleDbConnection myConnection = new OleDbConnection(conn);
<compilation defaultLanguage="C#" debug="true" />
<customErrors mode="Off" />
<customErrors defaultRedirect="ErrorPage.aspx" mode="On"> <error statusCode="500" redirect="servererror.aspx" /> <error statusCode="404" redirect="filenotfound.aspx" /> <error statusCode="403" redirect="AccessDenied.aspx" /> </customErrors>
<trace enabled="true" requestLimit="10" pageOutput="true" traceMode="SortByTime" localOnly="true"/>
Build Your Own ASP.NET Website Using C# & VB.NET