在ASP.NET中如何显示.在ASP中我 是在页面要显示的地方用个循环语句+RS("")对记录进行循环读取.不知道在.NET 中怎么实现.如何循环.可以给个例子吗.
解决方案 »
- GridView导出Excel慢~~~~~~ 急
- 请问如何在Calendar中按日期中加入Treeview?
- 如何在.net里面加入ajax控件
- 表格自由拖动
- myReader.Read 如何判断是最后一条记录呢
- 如何让vs2008sp1的智能感知出现asp.net ajax library中相应的属性或函数提示?有些属性并没有给出智能提示。
- 将表A的结果减去表B分的结果怎么做??
- 如何将页面导出为Excel??
- 图书收藏怎么实现?
- ASPNET导出Excel奇怪的为题
- 请问大型电子商务网站的货币用什么可逆加密技术来加密才安全呢??????????????????????????????
- 正则表达式
<itemtemplate>
<tr>
<td width="279" height="23"><span class="STYLE11"> <a href="b_sanji.aspx?id=<%# container.dataitem("id")%>" title="<%# container.dataitem("b_jiudianname")%>"><span style="color:#000099"><%# leftx(container.dataitem("b_jiudianname").tostring(),42)%></span></a></span></td>
<td width="90"><span class="STYLE11"> <%# leftx(container.dataitem("b_suozaidi_shi").tostring(),12)%></span></td>
<td width="103"><span class="STYLE11"> <%# leftx(container.dataitem("b_dianhua").tostring(),14)%></span></td>
<td width="102"><span class="STYLE11"> <%# leftx(container.dataitem("b_chuanzhen").tostring(),14)%></span></td>
<td width="103"><span class="STYLE11"> <%# leftx(container.dataitem("b_xingji").tostring(),14)%></span></td>
<td width="107"><span class="STYLE11"> <%# leftx(container.dataitem("b_lianxiren").tostring(),14)%></span></td>
</tr>
</itemtemplate>
</asp:Repeater>
<itemtemplate>
<tr>
<td width="279" height="23"><span class="STYLE11"> <a href="b_sanji.aspx?id=<%# container.dataitem("id")%>" title="<%# container.dataitem("b_jiudianname")%>"><span style="color:#000099"><%# leftx(container.dataitem("b_jiudianname").tostring(),42)%></span></a></span></td>
<td width="90"><span class="STYLE11"> <%# leftx(container.dataitem("b_suozaidi_shi").tostring(),12)%></span></td>
<td width="103"><span class="STYLE11"> <%# leftx(container.dataitem("b_dianhua").tostring(),14)%></span></td>
<td width="102"><span class="STYLE11"> <%# leftx(container.dataitem("b_chuanzhen").tostring(),14)%></span></td>
<td width="103"><span class="STYLE11"> <%# leftx(container.dataitem("b_xingji").tostring(),14)%></span></td>
<td width="107"><span class="STYLE11"> <%# leftx(container.dataitem("b_lianxiren").tostring(),14)%></span></td>
</tr>
</itemtemplate>
</asp:Repeater>