Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 25th, 2007, 10:10 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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











Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi Colum Listbox JAdkins Classic ASP Basics 3 July 9th, 2007 01:40 AM
Copy only numeric value from one colum hugoscp Word VBA 1 November 22nd, 2006 10:56 AM
Copy only numeric value from one colum hugoscp Excel VBA 2 October 16th, 2006 08:31 PM
converting colum in datetime format... santoshpayal SQL Server 2000 0 September 12th, 2006 04:53 PM
Unable to Break at Break point Girishbk VB.NET 2002/2003 Basics 0 January 18th, 2005 08:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.