I've created an asp.net sitemap with nodes that I will have to make visible on the condition of the sql table the webpage of the node accesses.
Where is the code of my sitemap.
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="NTSHomePage.aspx" title="Staff Admin Menu" description="" forecolor="white">
<!--table property reflects the SQL table the web page accesses. Securities won't work unless the table typed in correctly.-->
<siteMapNode target="where" value="nothing" url="HomePage.aspx" title="Student Verification" description="www.NTS.edu" />
<siteMapNode target="where" value="CourseBuildExceptionList" url="CourseBuildExceptionListManageFiles2.aspx" title="AIMS Course Exception List" description="AIMS Course Information"/>
<siteMapNode target="where" vale="Faculty" ...
Go to the complete details ...