> In web.config file, Under what tag to put "add
> key="ConnectionString"......"?
> Put in <appSettings> or <connectionStrings> ?
You can put it in either. Which one you choose will depend upon the syntax
you use for retrieving it.
However, the "connectionStrings" section is clearly designed for connection
strings (the clue's in the name), so I'd put it there...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
> In web.config file, Under what tag to put "add
> key="ConnectionString"......"? Put in <appSettings> or
> <connectionStrings> ?
If you are using <add key="", you cannot put it under Connection Strings,
so it goes under app settings. This is the incorrect way to do things,
however.
If you want it to be a connection string, the format will be <add name="",
etc.
it is better to place connection strings in the <ConnectionString> section,
as there is more than just a key value when you explicitly set up a
connection string. Some items may not be important to you now, but why
break convention at this time?
Peace and Grace,

Signature
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************