Your Ad Here

Posted By

krisdb on 03/09/07


Tagged

ASP


Versions (?)

PrintArray


 / Published in: ASP
 

  1. Sub PrintArray(arr)
  2. Dim ColNmbr,RowNmbr
  3. Response.Write "<table border=""1"" cellspacing=""0"">"
  4. For RowNmbr = 0 to ubound(arr)
  5. Response.Write "<tr>"
  6. For ColNmbr = 0 to (Ubound(arr,2) - 1)
  7. Response.Write "<td>" &arr(RowNmbr,ColNmbr) & "</td>"
  8. Next
  9. Response.Write "</tr>"
  10. Next
  11. Response.Write "</table>"
  12. End Sub

Report this snippet  

You need to login to post a comment.