当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > asp+的论坛列表程序---页面部分

ASP.NET
.Net中使用com组件后发生System.ArithmeticException异常的解决办法
SQL Server.net 和 OLE DB.net连接数据库的比较
后台更新DataTable行内容的方法
敏捷软件开发(原则,模式与实践)笔记1
确保文本框输入值为数值的代码
XML和数据库之间相互的映射
让你的.NET程序兼容不同版本的Dll文件。
.NET 的数据访问应用程序块(Data Access Application Block)
用控件仅一条指令实现界面换肤和多语言版本(YFSkins)
Microsoft User Interface Process Application Block 研究(3)
分享:处理Excel方法小结
基于ASP.NET实现全球化
.net 里面 protected private 的变量也可以访问(新发现)。
关于C#中{0}和{1}的问题初次在此发贴,问题对你易对我难,求救了
使用C#代码实现增加用户帐号
全世界都在关注-微软重大产品发布
教你做Rational Rose(UML Design)
OLE DB取得数据库的架构信息
VB 从零开始编外挂(三)
XPath序列之四

ASP.NET 中的 asp+的论坛列表程序---页面部分


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 107 ::
收藏到网摘: n/a

asp+的论坛列表程序---页面部分

--------------------------------------------------------------------------------
【bigeagle】 于 2000-11-13 15:38:10 加贴在 Joy ASP ↑:

<%@ Page Inherits="Forum" Src="source/forum.cs" Trace="false"%>
<%@ Register TagPrefix="Acme" TagName="Navigator" Src="acme/navigator.aspc" %>

<!--#include file="include/publicproc.inc"-->

<%ShowHead("论坛首页");%>

<form runat=server>

<table width=720 align=center border=0>
<tr>
<td width=30 align=left>
<img ID="imgNew" src="/upload/tech/20091103/20091103053259_2ab56412b1163ee131e1246da0955bd1.gif">
</td>
<td width=400>(<asp:Label ID="lblTopicCounts1" runat=server/>)
<asp:Label ID = "lblForumName" runat=server/>
<br>版主:<img id="imgOICQ" width=20 height=20 runat=server/>
<asp:HyperLink ID="linkMaster" runat=server/>
</td>
<td>
<table width=100% border=0 align=left>
<tr>
<td align=left>
<img src = 'images/open.gif'>
<a href='default.aspx'>
<span class=bigtitle>
eMatters Board
</span></a>
<br><img src="/upload/tech/20091103/20091103053300_e369853df766fa44e1ed0ff613f563bd.gif">
<img src = 'images/closed.gif'>
<asp:Label id="lblForumName1" class=title runat=server/>
</td></tr>
</table>
</td>
</tr>
</table>
<table width=720 align=center border=0>
<tr>
<td align=right>
<asp:imagebutton id="btnPostNew" src = 'images/post.gif' border=0 runat=server/>
</td>
</tr>
</table>
<Acme:Navigator runat=server/>
<br><br>

<table width=720 border=0 cellspacing=1 cellpadding=4 align=center>
<tr bgcolor=#ffffff>
<td width=600>
共<asp:Label id="lblTopicCounts" runat=server/>个主题,
每页显示<asp:Label ID="lblPerPage" runat=server/>条。
目前在页:<asp:Label id="lblPosition" runat=server/>
</td>
<td width=30 align=center>
<asp:HyperLink id="linkFirstPage" runat=server>
首页
</asp:HyperLink>
</td>
<td width=30 align=center>
<asp:HyperLink id="linkPrevPage" runat=server>
前页
</asp:HyperLink>
<td width=30 align=center>
<asp:HyperLink id="linkNextPage" runat=server>
后页
</asp:HyperLink>
</td>
<td width=30 align=center>
<asp:HyperLink id="linkLastPage" runat=server>
末页
</asp:HyperLink>
</td>
</tr>
</table>
<center>
<asp:table id="tblTopic" width=720 cellpadding=4 cellspacing=1 bgcolor=#000000 align=center runat=server>
<asp:TableRow bgcolor=#ffffff valign=bottom>
<asp:TableCell width=30 runat=server>

</asp:TableCell>
<asp:TableCell width=30 runat=server>

</asp:TableCell>
<asp:TableCell class=title width=350 runat=server>
主题
</asp:TableCell>
<asp:TableCell width=60 class=title runat=server>
作者
</asp:TableCell>
<asp:TableCell width=40 class=title runat=server>
回复
</asp:TableCell>
<asp:TableCell class=title runat=server>
最后回复时间
</asp:TableCell>
</asp:TableRow>

</asp:table>


</center>

<table width=720 border=0 cellspacing=1 cellpadding=4 align=center>
<tr bgcolor=#ffffff>
<td width=600>

</TD>
<td width=30 align=center>
<asp:HyperLink id="linkFirstPage1" runat=server>
首页
</asp:HyperLink>
</td>
<td width=30 align=center>
<asp:HyperLink id="linkPrevPage1" runat=server>
前页
</asp:HyperLink>
<td width=30 align=center>
<asp:HyperLink id="linkNextPage1" runat=server>
后页
</asp:HyperLink>