Z
Zulander
hi, i am trying to put a session variable in the DataFile of the
XmlDataSource, but for some reason i am getting: Server tags cannot
contain <% ... %> constructs.
<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="<%
Session("UserPath") %> "></asp:XmlDataSource>
I have even tried this:
<asp:XmlDataSource ID="XmlDataSource1" runat="server"
DataFile="<%=Session("UserPath") %> "></asp:XmlDataSource>
any idea ?
XmlDataSource, but for some reason i am getting: Server tags cannot
contain <% ... %> constructs.
<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="<%
Session("UserPath") %> "></asp:XmlDataSource>
I have even tried this:
<asp:XmlDataSource ID="XmlDataSource1" runat="server"
DataFile="<%=Session("UserPath") %> "></asp:XmlDataSource>
any idea ?