创建控件完成了么?直接把在编辑器的右侧解决方案的那个控件文件(*.ascx)往表格后者其它的地方拖放就行了
然后再看看代码

解决方案 »

  1.   

    控件创建好了,也能用,就是它说连接的子网页该怎么命名?控件是通过Request.Path + DataBinder.Eval(Container, "ItemIndex", "?category={0}") 来绑定连接网页的?
      

  2.   

    http://blog.csdn.net/xinyulou/archive/2004/08/06/66706.aspx
      

  3.   

    html:
    <%@ Control Language="c#" AutoEventWireup="false" Codebehind="title.ascx.cs" Inherits="dyygs.title" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
    <DIV style="WIDTH: 1054px; POSITION: relative; HEIGHT: 101px" ms_positioning="GridLayout">
    <asp:Image id="Image2" style="Z-INDEX: 101; LEFT: 793px; POSITION: absolute; TOP: 2px" Height="96px" Width="124px" runat="server"></asp:Image>
    <asp:Image id="Image1" style="Z-INDEX: 102; LEFT: 10px; POSITION: absolute; TOP: 9px" ImageUrl="file:///C:\Inetpub\wwwroot\dyygs\images\logodygs.gif" runat="server" Width="709px" Height="43px"></asp:Image>
    </DIV>
    <DIV style="WIDTH: 639px; POSITION: relative; HEIGHT: 29px" ms_positioning="GridLayout">
    <asp:DataList id="DataList1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 5px" runat="server" RepeatDirection="Horizontal">
    <SelectedItemStyle Font-Bold="True"></SelectedItemStyle>
    <ItemTemplate>
    <asp:HyperLink id=HyperLink1 Width="70px" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem") %>' NavigateUrl='<%# Request.Path+DataBinder.Eval(Container, "ItemIndex", "?category={0}") %>' ForeColor="White">
    </asp:HyperLink>
    </ItemTemplate>
    <SeparatorTemplate>
    <FONT color="#ff9900">|</FONT>
    </SeparatorTemplate>
    </asp:DataList></DIV>
      

  4.   

    有些操作可以放在.ascx.cs中执行