troubleshooting Question

Making Table Thru ASP Response.write

Avatar of Whing Dela Cruz
Whing Dela CruzFlag for Anguilla asked on
JavaScriptASPHTML
5 Comments1 Solution376 ViewsLast Modified:
Hi experts, I wish to put an id of the table below but when i tried to insert id="myTable" it didn't work. And also the result of the code as the client received this, (the server), it shows no table except the data. Any help please.

      If not .BOF = True And not .EOF = True Then 'found record
         response.write("<table>")
         do until rs.EOF
            response.write("<tr><td>" & Response.Write(rs("Procode")) & "</td>")
            response.write("<tr><td>" & Response.Write(rs("Proname")) & "</td></tr>")
            rs.MoveNext
         loop
         response.write("</table>")
      else
         response.write("No record!")
      End If
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
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 5 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