You are right that it's in the connectionStrings section, how do you get to
that?
> Hi there Rod,
>
[quoted text clipped - 18 lines]
> > thanks,
> > rodchar
David Wier - 24 Jan 2008 21:57 GMT
What exactly do you mean by 'how do you get to that?"
The web.config file is a file, like any other in the root directory of the
website, that you can open and edit.
David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
> You are right that it's in the connectionStrings section, how do you get
> to
[quoted text clipped - 26 lines]
>> > thanks,
>> > rodchar
Scott Roberts - 24 Jan 2008 22:19 GMT
string dbConnection =
ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString;
> You are right that it's in the connectionStrings section, how do you get
> to
[quoted text clipped - 26 lines]
>> > thanks,
>> > rodchar
Milosz Skalecki [MCAD] - 25 Jan 2008 00:16 GMT
Howdy,
c#
System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionStringName"].ConnectionString
vb.net
System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionStringName").ConnectionString
HTH

Signature
Milosz
> You are right that it's in the connectionStrings section, how do you get to
> that?
[quoted text clipped - 21 lines]
> > > thanks,
> > > rodchar