Results 1 to 7 of 7

Thread: ASP and/or HTML Table Question **Resolved**

Threaded View

  1. #1

    Thread Starter
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    ASP and/or HTML Table Question **Resolved**

    I just started playing around with ASP and I am able to display data from a MS SQL db. One question I have that some of the rows from my query have fields that have either null or "" values. When these rows are displayed in the table the borders for those fields are not printed. I have tried appending and empty string to each field but to no avail.

    Here is my Code:

    VB Code:
    1. Do While Not rstSimple.EOF
    2.     %>
    3.     <tr>
    4.         <td><%= rstSimple.Fields("Incident_Type").Value%></td>
    5.         <td><%= rstSimple.Fields("Filenum").Value%></td>
    6.         <td><%= rstSimple.Fields("CASENUM").Value%></td>
    7.         <td><%= rstSimple.Fields("STATUS").Value%></td>
    8.     </tr>
    9.     <%
    10.     rstSimple.MoveNext
    11. Loop
    Last edited by Mark Gambo; Aug 16th, 2004 at 12:18 PM.
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width