<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Header.ascx.cs" Inherits="Templates_VCBtemp1_UserControl_Header" %>
<table width="1002" border="0" cellspacing="0" cellpadding="0" class="header" align="center">
<tr>
<td style="padding:10px;"><img src="<%=new General.Xmls().GetBasicSetNode("SiteLogo") %>" alt="" /></td>
<td class="had_right">·<a title="设置本站为浏览器首页" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://<%=HttpContext.Current.Request.Url.Host %>');" href="javascript:;">设为首页</a>
·<a href="javascript:window.external.AddFavorite('http://<%=HttpContext.Current.Request.Url.Host %>', '<%=new General.Xmls().GetBasicSetNode("SiteTitle") %>')">收藏本站</a>
</td>
</tr>
</table>
<table width="1002" border="0" cellspacing="0" cellpadding="0" class="menu" align="center">
<tr>
<td>
<table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><a href="Default.aspx" class="cul_tl">首 页</a></td>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<td><a href="<%#GetChannel(Eval("FatherModelID").ToString()) %>?ChannelID=<%#Eval("ChannelID")%>" class="cul_tl"><%#Eval("ChannelName")%></a></td>
</ItemTemplate>
</asp:Repeater>
</tr>
</table>
</td>
</tr>
</table>
<a href="<%#GetChannel(Eval("FatherModelID").ToString()) %>?ChannelID=<%#Eval("ChannelID")%>" class="cul_tl"><%#Eval("ChannelName")%> 这句话中href中的<%#GetChannel(Eval("FatherModelID").ToString()) %>?ChannelID=<%#Eval("ChannelID")%> 在href中打不出来啊 要在外面打再剪切进去,这是为什么? 还有<%#%>那个#是干嘛用的还有那个?是什么意思 求解
<table width="1002" border="0" cellspacing="0" cellpadding="0" class="header" align="center">
<tr>
<td style="padding:10px;"><img src="<%=new General.Xmls().GetBasicSetNode("SiteLogo") %>" alt="" /></td>
<td class="had_right">·<a title="设置本站为浏览器首页" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://<%=HttpContext.Current.Request.Url.Host %>');" href="javascript:;">设为首页</a>
·<a href="javascript:window.external.AddFavorite('http://<%=HttpContext.Current.Request.Url.Host %>', '<%=new General.Xmls().GetBasicSetNode("SiteTitle") %>')">收藏本站</a>
</td>
</tr>
</table>
<table width="1002" border="0" cellspacing="0" cellpadding="0" class="menu" align="center">
<tr>
<td>
<table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><a href="Default.aspx" class="cul_tl">首 页</a></td>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<td><a href="<%#GetChannel(Eval("FatherModelID").ToString()) %>?ChannelID=<%#Eval("ChannelID")%>" class="cul_tl"><%#Eval("ChannelName")%></a></td>
</ItemTemplate>
</asp:Repeater>
</tr>
</table>
</td>
</tr>
</table>
<a href="<%#GetChannel(Eval("FatherModelID").ToString()) %>?ChannelID=<%#Eval("ChannelID")%>" class="cul_tl"><%#Eval("ChannelName")%> 这句话中href中的<%#GetChannel(Eval("FatherModelID").ToString()) %>?ChannelID=<%#Eval("ChannelID")%> 在href中打不出来啊 要在外面打再剪切进去,这是为什么? 还有<%#%>那个#是干嘛用的还有那个?是什么意思 求解
解决方案 »
- 求教document.form1.groupchk.length和document.getElementsByName("groupchk").length区别
- 招聘.NET 和JAVA 人才
- 如何存放图片路径到Access数据库,并读取显示?
- 一个神奇的问题,渴望知道原因
- 數字與字母的檢查(vb.net的web開發中)
- asp.net mvc 数据批量提交的问题
- 失落的ASP.NET
- 请大家看看1+1=?这个贴,跪求,我都没分了(我真是想知道是怎么回事)?
- 如何保存信息到客户端的ini或者txt文件中,要求中间不弹出保存对话框。
- 求救:在Windows 2003下Visual Studio .NET无法创建ASP.Net项目
- 用uniqueidentifier有什么好处?为何不用自动增长的INT型?
- 编译器错误信息: CS0246: 找不到类型或命名空间名称“OnLineExam”(是否缺少 using 指令或程序集引用?)
因为VS分析不出语法。<%# 表示这是数据绑定表达式。