V
vncntj
i have this in page.aspx
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$
ConnectionStringsMAIntranetContentConnectionString %>"
SelectCommand="SELECT [title], [content] FROM [webs] WHERE
([pageid] = @ID)">
<SelectParameters>
<asp:ControlParameter ControlID="TreeView1" Name="ID"
PropertyName="SelectedNode.Text" Type="string"/>
</SelectParameters>
</asp:SqlDataSource>
and this sitemap that i want to use to pass values to the datasource..
navigate.xml
<siteMapNode title="Security" url="/Intranet/Security/" text="1">
<siteMapNode title="Museum Security" url="/Intranet/Security/"
id="1">
<siteMapNode title="Confidentiality" url="/Intranet/Security/"
id="2" />
<siteMapNode title="Surveillance" url="/Intranet/Security/" id="3"/ <siteMapNode title="Office Keys" url="/Intranet/Security/" id="4"/ <siteMapNode title="Property Passes" url="/Intranet/Security/"
id="5"/>
</siteMapNode>
but the .aspx page won't take the values..
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$
ConnectionStringsMAIntranetContentConnectionString %>"
SelectCommand="SELECT [title], [content] FROM [webs] WHERE
([pageid] = @ID)">
<SelectParameters>
<asp:ControlParameter ControlID="TreeView1" Name="ID"
PropertyName="SelectedNode.Text" Type="string"/>
</SelectParameters>
</asp:SqlDataSource>
and this sitemap that i want to use to pass values to the datasource..
navigate.xml
<siteMapNode title="Security" url="/Intranet/Security/" text="1">
<siteMapNode title="Museum Security" url="/Intranet/Security/"
id="1">
<siteMapNode title="Confidentiality" url="/Intranet/Security/"
id="2" />
<siteMapNode title="Surveillance" url="/Intranet/Security/" id="3"/ <siteMapNode title="Office Keys" url="/Intranet/Security/" id="4"/ <siteMapNode title="Property Passes" url="/Intranet/Security/"
id="5"/>
</siteMapNode>
but the .aspx page won't take the values..