Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Ident Results

Status
Not open for further replies.
Nov 29, 2002
64
US
Hello everyone,

Can I "ident" (I think that's the right word) with ASP the results of a database query on a table such as:

Name Product $ SALES
ALFREDO PRODUCT1 25
ALFREDO PRODUCT2 5
ALFREDO PRODUCT3 10

to make it look like:

Name Product $ SALES
PRODUCT1 25
ALFREDO PRODUCT2 5
PRODUCT3 10

or I will need ASP.net (for the XSL and all)?

Thanks!

Alfredo





 
Nah...its simple if you use tables

Code:
old_value = ""
while not rs.oef 
   response.write "<tr>"
   if old_value <> rs("name") then
     response.write "<td>" & rs("name") & "</td>"
   else
     response.write "<td>&nbsp;</td>"
   end if
   ....


Bastien

Cat, the other other white meat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top