Tip of my blog

站长日记,与所有网友分享建站(博客)心得!


ASP输出横排问题
阅读全文() | 回复(0) | 引用通告() | 编辑


大家帮帮忙,平时我将数据库中的内容显示出来,都是竖着排的了,但我想实现横排着。代码怎么写啊!谢了。

 

横排与竖排就是改变HTML代码的事情,楼主明显没有完全理解HTML代码。
table
tr
td /td
/tr
tr
td /td
/tr
如此HTML代码是竖排表格
table
tr
td /td td /td
/tr
如此为横排表格。


Response.Write "<table><tr>"
do while....
Response.Write "<td>" &rs("name")& "</td>"
loop
Response.Write "</table>"

by QunluoMaster 发表于 2008-7-12 21:14:43
..................................................
博客的精神于写自己某一刻的思想或心动!
..................................................
当然要是你愿意就是拿来做记事本也可以!
..................................................
群落博客将提供全程免费服务!免费注册!
..................................................
欢迎您成为群落博客的成员!使用之前请先看系统帮助>>>>系统帮助
..................................................

免费注册群落博客【点击完成注册】
..................................................

发表评论:

    昵称:
    密码: (游客无须输入密码)
    主页:
    标题:
July 2008
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
My subject | 我的主题

New entries | 新发表

Messages Board | 留言板


Guest Comments | 新评注


Blogger Login | 登陆栏
Blog Infomation | 信息栏
Blog Infomation | 搜索栏
Blog Infomation | 收藏栏
『中国群落博客』

免费注册博客通道


站长日记
© COPYRIGHT 2005 ALL RIGHTS RESERVED http://qunluo.com