代码是:
<%=ZK.BindEasy("select top 50 * from links where parentid=链接的类别编号 order by sorting desc,id asc", "<a href=\"{{url}}\" target=\"_blank\">{{n}}</a> ", "n", 80, "..", "time", "yyyy-MM-dd")%>
例如:
<%=ZK.BindEasy("select top 50 * from links where parentid=1 order by sorting desc,id asc", "<a href=\"{{url}}\" target=\"_blank\">{{n}}</a> ", "n", 80, "..", "time", "yyyy-MM-dd")%>
<%=ZK.BindEasy("select top 50 * from links where parentid=2 order by sorting desc,id asc", "<a href=\"{{url}}\" target=\"_blank\">{{n}}</a> ", "n", 80, "..", "time", "yyyy-MM-dd")%>