I am modifying some old code someone wrote and they had placed a connection string in the web.config and due to business rules, I am having to remove it. I have made a singleton class that generates the connection string and want to set it in the asp.net markup in a similar fashion like this:\[code\]<asp:SqlDataSource ID="DataSource" runat="server" ConnectionString='<% MyNameSpace.Credentials.Instance.DatabaseConnectionString %>' ProviderName="Oracle.DataAccess.Client" SelectCommand="SELECT * from aTable"></asp:SqlDataSource>\[/code\]Unfortunately, that doesn't work and is taking that line and using it as the literal connection string. Anyone know how to access a property of a class inline like this?