web用户控件问题? 创建控件完成了么?直接把在编辑器的右侧解决方案的那个控件文件(*.ascx)往表格后者其它的地方拖放就行了然后再看看代码 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 控件创建好了,也能用,就是它说连接的子网页该怎么命名?控件是通过Request.Path + DataBinder.Eval(Container, "ItemIndex", "?category={0}") 来绑定连接网页的? http://blog.csdn.net/xinyulou/archive/2004/08/06/66706.aspx 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> 有些操作可以放在.ascx.cs中执行 我是新手!怎么学习.net ? c#下如何获得硬盘状态. 程序 调试 如何让变量RPName指定的Repeater绑定数据库 模拟键盘按键问题 急切等待 .net 托管资源的手动回收? 请问:如何检测打印机是否可用。(C#,WinForm) 请教如何修改注册表? 一个超级简单文件操作怎么会有错? c# 如何查看显卡功耗 模态对话框的问题 C#如何实现将用户选定的文件或文件夹打包成rar或zip文件?
<%@ 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>