扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:廖煜嵘 编译 来源:天极网 2007年11月7日
关键字: Windows
<tr height="100px"> <td colspan="2" align="left"> <asp:Menu ID="Menu1" Runat="Server" DataSourceID="SiteMapDataSource1"> </asp:Menu> </td> </tr> |
![]() |
<tr height="100px"> <td colspan="2" align="left"> Currently Selected Page is: <asp:SiteMapPath Runat="Server" ID="SiteMapPath1"></asp:SiteMapPath> </td> </tr> |
<%@ Page Language="C#" MasterPageFile="Navigation.master" Title="Members Page"%> <asp:Content ContentPlaceHolderID="ContentPlaceHolder1" ID="Content1" Runat="Server"> This is the members page </asp:Content> |
<%@ Page Language="C#" MasterPageFile="Navigation.master" Title="Members Page"%> <script runat="Server"> void Page_Load(object sender, EventArgs e) { Response.Write("The currently selected root node is: " + SiteMap.CurrentNode.Description + "<br>"); Response.Write("The Parent for the currently selected node is : " + SiteMap.CurrentNode.ParentNode.Description); } </script> <asp:Content ContentPlaceHolderID="ContentPlaceHolder1" ID="Content1" Runat="Server"> This is the members page </asp:Content> |
![]() |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。