table colum break
table colum can be break ?
I have 40 colum table to display.
I want that records display 10 colum wise.
like his
col1.col2..........col10
------------------------
...
....
col11.col122........col20
-------------------------
....
col21.col122........col30
-------------------------
....
col31.col132........col40
-------------------------
....
my asp file display table like following code..
<table align=center border="1" cellspacing="1" cellpadding="1">
<tr bgcolor=#9999cc>
<th bgcolor=#ccccff><span style="font-weight: 400">
<em style="font-style: normal"><strong>
col 1</strong></em></span></th>
<th bgcolor=#ccccff><span style="font-weight: 400">
<em style="font-style: normal"><strong>
col 2</strong></em></span></th>
....
...
// connection string
<%
do while rs.eof=false
Response.Write("<tr>")
Response.Write("<td align=center>" & rs("video1") & "</td>")
Response.Write("<td align=center>" & rs("video2") & "</td>")
Response.Write("<td align=center>" & rs("video3") & "</td>")
...
...
rs.movenext
loop
Response.Write("<tr>")
%>
</table>
I want the loop display 1 to 10 colum records and betom
display next 11 to 20 colum records and next 21 to 30
next 31 to 40 colum records,
it can display in asp by loop etc.?
regards
Mateen
|