I have an aspx-Page with an int in Codebehind:
private const int id = 11;
And in Markup I have
<asp:SqlDataSource ID="SqlDataSource" runat="server"
SelectCommand="SELECT Name FROM [StatusOption] WHERE StatusId = 11">
I would like to reference the id from codebehind in the markup, so that I only have to change it in codebehind when necessary. Is it possible and how.