请求帮助,ASP数据分行显示的问题
刚学asp,看见别人一段代码
<%
sub comp()%>
<TABLE border=0 height=68 width="100%" cellpadding=0>
<tr>
<%dim v
set rst_p=server.createobject("adodb.recordset")
sqltj_a="select top 5 username,com,logo from jle_com where yz=1 and logo <>'' and vip=1 order by lastdl desc,ID desc"
rst_p.open sqltj_a,conn,1,1
while not rst_p.eof and not rst_p.bof
for v=0 to 5
if rst_p.eof then
exit for
end if%>
在主页调用comp
<td height="45" bgcolor="#FBFFFE" style="border-style:none" valign="top">
<%call comp()%> </td>
</tr>
</table> <table width="756" border="0" cellspacing="0" cellpadding="0">
我想显示完全部数据,5个一横排,怎么自动转到第2排显示呢?或者显示15个分3排,应该怎么改哟
来源: http://www.programbbs.com/bbs/view17-25930-1.htm
哦 给你一个列子 自己用过的
select case i
case 0, 4,8,12,16
response.write " <tr>"
end select
加入需要的地方就ko了
lz大半夜都在敲代码,真是我辈楷模啊
相关问答:
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
就是类似以上的在线测试系统,需要有一个后台的,语言是asp的,数据库是access的,还需要能在后台对信息进行添删改查的。谢谢各位了。。。
程序真的很多,不知 ......
有一个类
class adc
{
dim a,b,c
}
如何在另外一个类中取得类成员及成员个数
class getmenber
{
dim menbers()
function getmenbers(resclass)
'res为一未知类
'getmenber ......
我想打印数据库里面读取出来的多条数据内容,实现批量打印
先导入excel或者word,然后在打印
或者购买web打印控件
使用acitvex打印。如果不需要选择属性,设置属性,就不需要商业的了。
<style media= ......
我要带后台管理,和网银接口的,挂上直接可以用的,大约多钱,哪个比较好
你可以到中国站长上下就可以用了!!!!!!!!!!
gxq323 能给我介绍两个网站吗
不建议购买,除非你和官方购买
你和其他的 ......