G
Guest
Can anyone tell me is there an easy way to get a value into an
objectdatasource select parameter from Application Variables? Obviously its
easy from cookies, session etc... but what about Application? Or is there an
easy way to get a value into an objectdatasource parameter from the
web.config? Kind of like how we get the connection string from web.config
into a datasource object, like:
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$
ConnectionStrings:spg_portalsConnectionString %>"
Can I do:
<SelectParameters>
<asp
arameter Name="dept_id" DefaultValue="<%$ AppSettings:dept %>
</SelectParameters>
objectdatasource select parameter from Application Variables? Obviously its
easy from cookies, session etc... but what about Application? Or is there an
easy way to get a value into an objectdatasource parameter from the
web.config? Kind of like how we get the connection string from web.config
into a datasource object, like:
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$
ConnectionStrings:spg_portalsConnectionString %>"
Can I do:
<SelectParameters>
<asp

</SelectParameters>