%
dim ArticleID
ArticleID=trim(request("ArticleID"))
if ArticleId="" then
call CloseConn()
response.Redirect("index.asp")
else
ArticleID=CLng(ArticleID)
end if
dim rsComment,sqlComment
sqlComment="select C.ArticleID,C.ClassID,C.UserType,C.UserName,C.Email,C.Oicq,C.Homepage,C.WriteTime,C.Score,C.Content,C.ReplyContent,C.ReplyName,C.ReplyTime,A.Title,A.UpdateTime,A.ArticleID from ArticleComment C inner join Article A on C.ArticleID=A.ArticleID where C.ArticleID=" & ArticleID & " order by C.CommentID desc"
Set rsComment= Server.CreateObject("ADODB.Recordset")
rsComment.open sqlComment,conn,1,1
%>
所有评论
<%
if rsComment.bof and rsComment.eof then
response.write " 没有任何评论"
else
%>