Implementation
The first step is to use the DRW to create a one
column table with no header. The DRW results will look
like this;
| This is the start of the
Database Results region. |
| <<State>> |
| This is the end of the
Database Results
region. |
Then, in HTML view, locate the table cell and row
tags (illustrated by the Before column in the table
below) and replace them with the script (illustrated by
the After column in the table below);
| Before |
After |
<tr> <td> |
<% count = count + 1 If
count = 1 Then %> <tr> <% End
If %> <td> |
| Before |
After |
</td> </tr> |
</td> <% If count = 3
Then count = 0 %> </tr> <% End
If %> |
| Before |
After |
| </tbody> |
<%If count
<> 0 Then Response.Write
"</tr>"%> </tbody> |
You can change the number of columns in the HTML
table by changing the 3 in the line, If count = 3 Then, to another
value. For example, If count = 5
Then would create a five column HTML
table. |