The <appSettings> element of a web.config file is a place
to store connection strings, server names, file paths, and
other miscellaneous settings needed by an application to
perform work
<Appsetting> in Web.Config can be used to store Settings
which are applicable for the whole Application
<connectionstring> is a node within <Appsetting> in the
Web.config
it can be used to store the Connection String
Well inside the appsettings is where you put all properties
that have to do with the entire web application you are
building. Connection strings can be placed inside the
appsettings to make it easy to connect each page from your
site to a database. Instead of defining a connection string
on each page, you write it once it the web.config and can
reference it from all other pages.
there are three way to stablished the connection in
web.config file
1- <appsetting>
code.....
</appsetting>
2-
<ConnectionString>
......code
...
</ConnectionString>
3-
you can create own type of tag and register this tag with
machine.comfig files,
there is no more difference to stablish the connection with
any tag,
mostly developer prefer <AppSettion> beause it provieds
some extra properties,but no diff. of the performance,
u can use anyone,
What is a transaction?
a) A banking term.
b) A concept used to describe a step in the business process.
c) A combination of DML steps that must succeed or the data
is retuned to its initial state.
d) A combination of DDL steps that must succeed or the data
is retuned to its initial state.