1、在vs.net直接拖至页面就可以。或在文件头加上:<%@ Register TagPrefix="uc1" TagName="mainmenu" Src="head.ascx" %>
......
文件内加:
<uc1:mainmenu id="head" runat="server"></uc1:mainmenu>2、将head文件保存为head.inc,在页面中指定位置直接:<!--#include file="head.INC" -->
......
文件内加:
<uc1:mainmenu id="head" runat="server"></uc1:mainmenu>2、将head文件保存为head.inc,在页面中指定位置直接:<!--#include file="head.INC" -->
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货