请教大家,如何从数据里读取一列记录,然后滚动显示,点击相应的记录可以链接到显示该记录所在行的所有记录?
解决方案 »
- 目录问题
- vs.net2005中 DataGridView 怎样添加模板列?
- asp.net2.0发布问题。本地正常,请熟悉者进
- xmlhttp提交中文数据乱码的问题,请指教.
- dadagrid用updatet和databind(),后台数据库内容已经更新了,但页面还没有更新。如何处理。
- Compiler Error Message: CS0117: 'System.Web.UI.HtmlControls.HtmlInputControl' does not contain a definition for 'PostedFile'
- Asp.Net新出的MVC框架中view层问题!如何增加目录级数?
- 请教飞刀,思归:.net环境下frameset的数据传递
- ★Class的一个错误请教了★
- 为什么event handle 会丢掉?
- 调用自己定义类的问题,无法取到函数
- C#读取数据库中储存的文件并下载到客户端
<tr>
<td style="width: 165px; height:150px" valign="top">
<MARQUEE onmouseover="if (document.all!=null){this.stop()}" onmouseout="if (document.all!=null){this.start()}"scrollAmount="1" scrollDelay="2" direction="up" height="150px" width=165px>
<asp:DataList ID="ListNewMessage" runat="server" Font-Size="10pt" Width=165px style="color: #99ccff">
<ItemTemplate>
<span style="font-size: 9pt"></span><table border="0" cellpadding="0" cellspacing="0"
style="width: 165px">
<tr>
<td style="width: 15px; height: 16px;" valign=top>
<span style="font-size: 8pt; color: #3366cc;">
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/img/sf.gif" /></span></td>
<td style="width: 150px; height: 16px;" align=left>
<asp:Label ID="Label1" Width=145px runat="server" Font-Size="10pt"
Text='<%# DataBinder.Eval(Container.DataItem,"Content") %>' ForeColor="SlateBlue" Font-Names="宋体"></asp:Label></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList></MARQUEE>
</td>
</tr>
这个是简单例子。但楼主可以再加个超链接的。我这个是邦定List的。你也可以不需要的。换成别的。
添加内容
</marquee>