asp:DataList ID="DataList1" runat="server"
onitemcommand="DataList1_ItemCommand" Width="638px" RepeatLayout="Flow" RepeatDirection="Horizontal">
<itemtemplate>
<div class="list-text" style=" clear:both; border-bottom:1px dashed #dbdbdb;">
<table width="100%" align="center" >
<tr>
<td rowspan="4" align="center"><div class="zbxm" style=" width:130px; float:left;"><a href="<%#Eval("Url") %>" ><img src="../Upload/<%#Eval("img") %>" alt="" style=" width:130px; height:90px;" /></a></div></td>
<td colspan="4" style=" font-size:14px; font-weight:bold; color:#00349a;"><a href="<%#Eval("Url") %>"> <%#Eval("Name")%></a></td>
</tr>
<tr>
<td colspan="3" >展会地点:<%#Eval("Place") %></td>
<td align="left"><a id="Iform<%#Eval("id")%>" title="展会申请" href="<%#Eval("Id","czsq.aspx?id={0}&Type=0")%>" style=" background-color:#e45858; display:block; width:80px; float:center; text-align:center; color:#FFF; height:20px; line-height:20px;">参展申请</a> </td>
</tr>
<tr >
<td colspan="3">展会简介:<%#Eval("Itro") %></td>
<td align="left"><a id="Iform<%#Eval("id")%>1" title="展会推广" href="<%#Eval("Id","zhtg.aspx?id={0}&Type=1")%>" style=" background-color:#69a8c7; display:block; width:80px; float:center; text-align:center; color:#FFF; height:20px; line-height:20px;">展会推广</a></td> </tr>
<tr>
<td colspan="4"> 会展时间:<%#Eval("StartTime") %>-<%#Eval("EndTime") %></td>
</tr>
</table>
</div>
<%--<div class="clear"></div>--%>
</itemtemplate>
</asp:DataList>
onitemcommand="DataList1_ItemCommand" Width="638px" RepeatLayout="Flow" RepeatDirection="Horizontal">
<itemtemplate>
<div class="list-text" style=" clear:both; border-bottom:1px dashed #dbdbdb;">
<table width="100%" align="center" >
<tr>
<td rowspan="4" align="center"><div class="zbxm" style=" width:130px; float:left;"><a href="<%#Eval("Url") %>" ><img src="../Upload/<%#Eval("img") %>" alt="" style=" width:130px; height:90px;" /></a></div></td>
<td colspan="4" style=" font-size:14px; font-weight:bold; color:#00349a;"><a href="<%#Eval("Url") %>"> <%#Eval("Name")%></a></td>
</tr>
<tr>
<td colspan="3" >展会地点:<%#Eval("Place") %></td>
<td align="left"><a id="Iform<%#Eval("id")%>" title="展会申请" href="<%#Eval("Id","czsq.aspx?id={0}&Type=0")%>" style=" background-color:#e45858; display:block; width:80px; float:center; text-align:center; color:#FFF; height:20px; line-height:20px;">参展申请</a> </td>
</tr>
<tr >
<td colspan="3">展会简介:<%#Eval("Itro") %></td>
<td align="left"><a id="Iform<%#Eval("id")%>1" title="展会推广" href="<%#Eval("Id","zhtg.aspx?id={0}&Type=1")%>" style=" background-color:#69a8c7; display:block; width:80px; float:center; text-align:center; color:#FFF; height:20px; line-height:20px;">展会推广</a></td> </tr>
<tr>
<td colspan="4"> 会展时间:<%#Eval("StartTime") %>-<%#Eval("EndTime") %></td>
</tr>
</table>
</div>
<%--<div class="clear"></div>--%>
</itemtemplate>
</asp:DataList>
解决方案 »
- 提问一个菜鸟问题
- asp.net中怎么实现treeview弹出右键菜单?
- 如何在关闭窗体时写入Session的值?
- ASP.NET部署方案:如何实现类似java那样编译各个单独的class,在部署时只更新或添加相应的某几个class文件
- 请教:默认下 在运行时,dropdownlist 控件只能选择不能输入,怎样让 该控件既可以选择又可以手工输入?
- 验证控件和javascript冲突问题
- 大家好,什么是托管资源和非托管资源,怎么用?
- 蛙蛙请教:DataGrid创建Item的过程是怎样的呀,有点儿奇怪哦,详细进来看
- 论坛DataGrid 嵌套的问题?请帮忙!
- 请问在asp.net中如何控制messageBox作出判断,并由该判断引发其他事件?
- 网站在IE下显示正常 在火狐里却生成了很多空白行
- .txt .jpg格式的文件点下载让ie强制下载问题
width:80px