jianinclude2.ascx
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:1k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Control Language="c#" AutoEventWireup="false" Codebehind="jianinclude2.ascx.cs" Inherits="kuangren.jianinclude2" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
  2. <%@ Import Namespace="System.Data" %>
  3. <SCRIPT language="JavaScript">
  4. var BoardList='<table width="100%" border="1" cellpadding="2" cellspacing="0" bordercolor="#6595d6"  bgcolor="#ecedef"class="asp600bg"><tr><td><asp:repeater id="parent" runat="server"><itemtemplate>&nbsp;&nbsp;&nbsp;&nbsp;╋<a href="list.aspx?f1_id=<%# DataBinder.Eval(Container.DataItem,"f1_id") %>"><%# DataBinder.Eval(Container.DataItem,"f1_caption") %></a><br><asp:repeater id="child" DataSource='<%# ((DataRowView)Container.DataItem).Row.GetChildRows("myrelation") %>' runat="server"><itemtemplate>&nbsp;&nbsp;&nbsp;&nbsp;├『<a href="maintable.aspx?f2_id=<%#DataBinder.Eval(Container.DataItem,"["f2_id"]")%>"  ><%#DataBinder.Eval(Container.DataItem,"["f2_caption"]")%></a>』<br></itemtemplate></asp:repeater></itemtemplate></asp:repeater></td></tr></table>';
  5. </SCRIPT>
  6. <DIV id="menuDiv" style="Z-INDEX: 101; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #ffffff"></DIV>
  7. <FONT face="宋体"></FONT><a href="index.aspx" onmouseover="ShowMenu(BoardList,180)">狂人论坛</a>