%
dim SoftID
SoftID=trim(request("SoftID"))
if SoftId="" then
call CloseConn()
response.Redirect("index.asp")
else
SoftID=CLng(SoftID)
end if
dim rsComment,sqlComment
sqlComment="select C.SoftID,C.ClassID,C.UserType,C.UserName,C.Email,C.Oicq,C.Homepage,C.WriteTime,C.Score,C.Content,C.ReplyContent,C.ReplyName,C.ReplyTime,S.SoftName,S.UpdateTime,S.SoftID from SoftComment C inner join Soft S on C.SoftID=S.SoftID where C.SoftID=" & SoftID & " 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
%>