Is it possible to add data a to particular column (same row )in HTML table?
My asp page has HTML table with user names as column headers. If the backend doesn't return data for a particular user I need to skip that column in HTML table.
Couldn't you simply skip over the user and not display anything for him/her if there aren't any associated records.
Barring that (all users are displayed) then
Code:
if recordforuser="" OR recordforuser=Null then
response.write "<td></td>"
end if
or for a whole column (depends on how you're displaying the data)
Code:
if recordforuser="" OR recordforuser=Null then
response.write "<tr rowspan=" & numRows & "></tr>"
end if
Hope it helps, [sig]<p>Rob<br><a href=mailto:robschultz@yahoo.com>robschultz@yahoo.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
"Focus on the solution to the problem,<br>
not the obstacles in the way."<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[/sig]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.