Database table Cells

Results 1 to 3 of 3

Thread: Database table Cells

  1. #1
    Join Date
    Dec 1969

    Default Database table Cells

    I have a connection to a database made in an ASP page. I am then displaying the database information in a table on the web page.<BR>However when there are empty record in the database I sill want the table cell to be outlined.<BR>Can anyone help - would cellpaddinf or something help? <BR>

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default What is your db question

    This is a HTML question. Please post questions like this in the HTML forum.<BR><BR>and to answer your question...<BR><BR>Check for empty data if there is nothign then put either a space or a - or SOMETHING.<BR><BR>You HAVE To put something in the cells foe it to display.<BR>

  3. #3
    Eddie Campbell Guest

    Default RE: Database table Cells

    Why not create a routine to add an &amp;nbsp; whenever the field is empty. Like this:<BR><BR>Function FixEmpty(aValue)<BR>If Len(aValue) &#062; 0 then<BR>FixEmpty = aValue<BR>else<BR>FixEmpty = &amp;nbsp;<BR>End If<BR><BR>Then on your page do this:<BR>Response.Write "&#060;td&#062;FixEmpty(rs("MyField"))&#060;/td&#062;"

Posting Permissions

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