T
tbh
is it possible in the ConnectionString of an asp:SqlDataSource construction
to refer to a variable i define at the top of my ASPX script and initialize,
for example, during Page_Init()?
(the only examples i have seen use hard-coded references to connection
strings defined in machine.config, e.g.
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings: connStrInMachConfig %>"
not knowing quite how the
<%$ ... %>
magic is definied i'm at a loss to figure it out on my own.
)
i'd be grateful for pointers.
Tim Hanson
to refer to a variable i define at the top of my ASPX script and initialize,
for example, during Page_Init()?
(the only examples i have seen use hard-coded references to connection
strings defined in machine.config, e.g.
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings: connStrInMachConfig %>"
not knowing quite how the
<%$ ... %>
magic is definied i'm at a loss to figure it out on my own.
)
i'd be grateful for pointers.
Tim Hanson