Home >php教程 >php手册 >c# 自定用户控件配置(两种情况)

c# 自定用户控件配置(两种情况)

WBOY
WBOYOriginal
2016-06-06 20:01:24931browse

c# 自定用户控件配置 web.config中配置 system.web pages controls add src="~/ChenLogin.ascx" tagName="ChenLogin" tagPrefix="Clark"/add /controls /pages /system.web 页面中引用情况 Clark:ChenLogin ID="ChenLogin1" runat="server" / 在每个页面中配

c# 自定用户控件配置

web.config中配置
 
 
   
     
   

 

 

页面中引用情况
 


在每个页面中配置

页面中引用

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn