Wednesday, March 28, 2012

Web.Config GroupSections

Hell all

From the below group in web.config, how would I get the EnvName key?

Thanks all,

Jon

<environment>
<LOCL
EnvName="Local Machine"
DBConnection="Persist Security Info=False;Data Source=BCTS_DEVT;User
ID=BCTS_ACCESS;Password=BCTS;"
EMailTo="" />

etc etcCheck if this link helps you out -
http://msdn.microsoft.com/msdnmag/i...4/09/ASPColumn/
--
Ameet Phadnis
Sr. Technical Consultant
e Tek Global Inc.
ASP Alliance Author Page: http://aspalliance.com/author.aspx?uId=44260
"Jon" wrote:

Quote:

Originally Posted by

Hell all
>
From the below group in web.config, how would I get the EnvName key?
>
Thanks all,
>
Jon
>
<environment>
<LOCL
EnvName="Local Machine"
DBConnection="Persist Security Info=False;Data Source=BCTS_DEVT;User
ID=BCTS_ACCESS;Password=BCTS;"
EMailTo="" />
>
etc etc


Hi,

The article pointed me in the right direction!

Thanks,

JY

"Ameet Phadnis(e Tek Global Inc.)" wrote:

Quote:

Originally Posted by

Check if this link helps you out -
http://msdn.microsoft.com/msdnmag/i...4/09/ASPColumn/
>
--
Ameet Phadnis
Sr. Technical Consultant
e Tek Global Inc.
ASP Alliance Author Page: http://aspalliance.com/author.aspx?uId=44260
>
>
"Jon" wrote:
>

Quote:

Originally Posted by

Hell all

From the below group in web.config, how would I get the EnvName key?

Thanks all,

Jon

<environment>
<LOCL
EnvName="Local Machine"
DBConnection="Persist Security Info=False;Data Source=BCTS_DEVT;User
ID=BCTS_ACCESS;Password=BCTS;"
EMailTo="" />

etc etc

0 comments:

Post a Comment