troubleshooting Question

For Loop In classic ASP VB script

Avatar of Rajar Ahmed
Rajar AhmedFlag for India asked on
VB ScriptASPHTML
14 Comments1 Solution740 ViewsLast Modified:
Am using VB scipt in classic asp..
i need a for loop ..which creates  rows with dese details....in dat loop i should iterate with a single row only....i.e here i used three <tr> html tag which created three rows ..but i need one <tr> html tag in for loop so it ll create three <tr>html tage on execution..
<table>
<tr>
                    <td><input type="checkbox" value="5" name="Chk" <%=r1%>/></td>
                    <td>america</td>
                    <td><input type="checkbox" value="5" name="Chk" <%=r1%>/></td>
                    <td>russia</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" value="6" name="Chk" <%=r2%>/></td>
                    <td>china</td>
                    <td><input type="checkbox" value="6" name="Chk" <%=r2%>/></td>
                    <td> japan</td>
                  </tr>
                  <tr>
                    <td><input type="checkbox" value="7" name="Chk" <%=r3%>/></td>
                    <td>india</td>
                    <td><input type="checkbox" value="7" name="Chk" <%=r3%>/></td>
                    <td>pak</td>
                  </tr>
</table>
ASKER CERTIFIED SOLUTION
mrGreen

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros