T
Tony Johansson
Hello!
Here is some text from the book.
"The following code snippet shows an example of a configuration file that
includes both an appSettings and a connectionStrings section."
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="Foo" value="Hello World""/>
</appSettings>
<connectionStrings>
<clear/>
<add name="AdventureWorksString"
providerName="System.Data.SqlClient"
connectionString="Data Source=localhost;
Initial Catalog=AdventureWorks; Integrated Security=true" />
</connectionStrings>
</configuration>
Now to my question why do they use the term section when they should use the
term element ?
//Tony
Here is some text from the book.
"The following code snippet shows an example of a configuration file that
includes both an appSettings and a connectionStrings section."
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="Foo" value="Hello World""/>
</appSettings>
<connectionStrings>
<clear/>
<add name="AdventureWorksString"
providerName="System.Data.SqlClient"
connectionString="Data Source=localhost;
Initial Catalog=AdventureWorks; Integrated Security=true" />
</connectionStrings>
</configuration>
Now to my question why do they use the term section when they should use the
term element ?
//Tony