On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.
I have the follwing code in a c# aspx file: <%string domain = (HttpContext.Current.Request.ServerVariables["HTTP_HOST"]);%> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:testfirststring %>" SelectCommand="SELECT testField FROM table1test WHERE testField = '<% domain %>' "></asp:SqlDataSource> I am missing something to have the domain variable to be accessible in the where statement. Everything else works (for now)! :)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.