Consider the code below.
See that connection string referenced there with the angle bracket-percent markup? That's great.
But my app is going to use ConnectionString #1 if we're running in Production mode, and ConnectionString #3 if we're running in Test mode. Connection strings are read-only, so it's not like I can use a 3rd connection string "placeholder" that's assigned #1 or #2 at runtime, based on whether we're running in Production mode or Test mode.
So I'd like to put a session variable in there, instead of a read-only connection string. I want to do something like:
ConnectionString="<%$ Session["WhichConnectionString"].ToString() %>" SelectCommand=...
What should that look like? How do I go about this?