<asp:DataList ID="DLpropic" runat="server" Font-Size="12px" RepeatDirection="Horizontal"
RepeatColumns="2" Width="" ItemStyle-VerticalAlign="Middle">
<ItemTemplate>
<asp:Image ID="propic" Style="" Height="104" Width="139" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"hecheng") %> ' />
<asp:Label ID="label1005" runat="server" Width="139" Height="8"> </asp:Label>
<asp:HyperLink ID="filmname" Height="20" Width="139" runat="server" NavigateUrl='<%# "pro_views.aspx?proID=" + Eval("proid") %>'
Text='<%# getpicname(DataBinder.Eval(Container.DataItem,"proname")) %>'></asp:HyperLink>
</ItemTemplate>
</asp:DataList>
RepeatColumns="2" Width="" ItemStyle-VerticalAlign="Middle">
<ItemTemplate>
<asp:Image ID="propic" Style="" Height="104" Width="139" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"hecheng") %> ' />
<asp:Label ID="label1005" runat="server" Width="139" Height="8"> </asp:Label>
<asp:HyperLink ID="filmname" Height="20" Width="139" runat="server" NavigateUrl='<%# "pro_views.aspx?proID=" + Eval("proid") %>'
Text='<%# getpicname(DataBinder.Eval(Container.DataItem,"proname")) %>'></asp:HyperLink>
</ItemTemplate>
</asp:DataList>
解决方案 »
- 打印需求
- c#之WebRequest..::.Create 方法 (Uri)
- 64位电脑中的32位winfrom程序怎么弄通过一个窗口句柄访问一个64位窗口的文件路径
- SqlCommandBuilder怎么事务绑定
- 超难问题:关于C$的object问题。在线,解决立即给分
- 散分求教!由于C#的强类型,会让她和vb.net的性能差那么多??(4000条记录,20秒和3秒之差别!)
- richtextbox中如何设置粗斜下划线等?
- C#怎样把自己编写的DLL写入EXE
- 求助:C#多媒体开发。如何将分离的音频,视频和字幕问文件加载到同一个窗体上??
- 关于动态生成一个button的问题
- "" 与null有什么区别?
- 求助:如何从一个窗体拖拽一个按钮到另一个窗体. 提供思路亦可,winform C#
样式放<title>...</title>
<style type="text/css">
<!--
.imgcss {
border: 1px solid #666666;
}
-->
</style>
修改Image
<asp:Image ID="propic" CssClass="imgcss " Style="" Height="104" Width="139" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"hecheng") %> ' />