内容页怎么调用模板页的属性

    技术2022-05-19  28

    在内容也中怎么调用模板页的属性?只需要在内容页的aspx页面添加如下类似即可:

      <%@ MasterType VirtualPath="~/MasterPage.master" %>

    详细用法,请参阅msdn中MasterType的用法。


    最新回复(0)