<%$ConnectionStrings:Northwind%>

Discussion in 'ASP .Net' started by =?Utf-8?B?UGV0ZXI=?=, May 16, 2006.

  1. I found one aspx page in a PC for ASPX learning, in one web control,
    <asp:SqlDataSource>, one of its attribute is as below:
    ConnectionString=<%$ConnectionStrings:Northwind %>
    The page works. And apparently, <%$ConnectionString:Northwind%> has the
    database credential information. But, I do not know how it is defined.
    Please advise. Thanks.
    Peter
    =?Utf-8?B?UGV0ZXI=?=, May 16, 2006
    #1
    1. Advertising

  2. =?Utf-8?B?UGV0ZXI=?=

    Brock Allen Guest

    This is the syntax for automatically reading the <connectionStrings> information
    from web.config.

    -Brock
    http://staff.develop.com/ballen


    > I found one aspx page in a PC for ASPX learning, in one web control,
    > <asp:SqlDataSource>, one of its attribute is as below:
    > ConnectionString=<%$ConnectionStrings:Northwind %>
    > The page works. And apparently, <%$ConnectionString:Northwind%> has
    > the
    > database credential information. But, I do not know how it is
    > defined.
    > Please advise. Thanks.
    > Pete
    Brock Allen, May 16, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bright
    Replies:
    2
    Views:
    4,000
    Bright
    Jul 16, 2005
  2. Bright
    Replies:
    1
    Views:
    527
  3. Chris Moore

    RE: Northwind based ASP.NET Demo

    Chris Moore, Apr 17, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    510
    Chris Moore
    Apr 17, 2004
  4. =?Utf-8?B?ZGVubmlzdDY4NQ==?=

    Can't open Northwind

    =?Utf-8?B?ZGVubmlzdDY4NQ==?=, Dec 8, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    5,689
    green apple
    Jun 26, 2009
  5. Harlan Messinger

    ASPNET won't connect to Northwind

    Harlan Messinger, Aug 26, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    444
    Harlan Messinger
    Aug 27, 2006
Loading...

Share This Page