<asp:DataList ID="HeadDatalist" runat="server" Height="80px">
<itemtemplate>
<table id="Table1" height="80" cellspacing="0" cellpadding="0" width="780" border="0">
<tr>
<td><img src="<%#DataBinder.Eval(Container.DataItem,'company_logo')%>" width="160" height="80"><img src="<%#DataBinder.Eval(Container.DataItem,'company_banner')%>" width="520" height="80"></td>
<td><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>
</th>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</itemtemplate>
</asp:DataList>
<itemtemplate>
<table id="Table1" height="80" cellspacing="0" cellpadding="0" width="780" border="0">
<tr>
<td><img src="<%#DataBinder.Eval(Container.DataItem,'company_logo')%>" width="160" height="80"><img src="<%#DataBinder.Eval(Container.DataItem,'company_banner')%>" width="520" height="80"></td>
<td><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>
</th>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</itemtemplate>
</asp:DataList>
解决方案 »
- 后台如何知道我点的哪个按钮
- 请教:JS 去掉页眉页脚时var Wsh=new ActiveXObject("WScript.Shell") 出错
- 大家推荐个商业的大文件上传组件,急..
- (急)求助关于跨服务器读取文件
- 想在ASP.NET上再提高,真的感觉很难,不知道从何下手(提建议给分)
- 再问:为什么在复合控件CreateChildControls()里创建的子控件对不齐?!!!
- 怎么把TreeView的内容导入XML 给思路
- AspNetPager分页控件数据不够一页不显示
- 如何将脚本中的变量值赋给输入框input??
- 一个星期的打针,病终于好了,又可以上csdn了,庆祝我在asp.net的1月榜上排第8,顺便帮我看一下这个问题。
- 用XSL脚本可以把XML里面存储的图像显示出来吗?
- RadiobuttonList能否邦定图像,应该怎么做?
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: CS1012: 字符文本中字符太多源错误: 行 5: <table id="Table1" height="80" cellspacing="0" cellpadding="0" width="780" border="0">
行 6: <tr>
行 7: <td><img src="<%#DataBinder.Eval(Container.DataItem,'company_logo')%>" width="160" height="80"><img src="<%#DataBinder.Eval(Container.DataItem,'company_banner')%>" width="520" height="80"></td>
行 8: <td><table width="150" border="0" cellspacing="0" cellpadding="0">
行 9: <tr>
源文件: G:\web\web\webcontrol\top.ascx 行: 7