I have a SqlDataSource that I am trying to modify in C# ASP.NET from my code behind page. The code in the page is:
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:TEST_SERVER %>"
ProviderName="<%$ ConnectionStrings:TEST_SERVER.ProviderName %>"
</asp:SqlDataSource>
I want to dynamically modify the SelectCommand parameter for SqlDataSource1 but in the codebehind page it does not seem to be available.
Am I just doing it wrong?