<%while rs.eof%>
<%If tmp <> rs("name") Then%>
<tr><td bgcolor=red>rs("name")</td
<%
tmp = rs("name")
End if%>
<tr><td bgcolor=#f2f2f2><%rs("AnyO
<%rs.moveNext
wend%>
you don't need to use rowspan for this, try this and c the output it is what you want.
and you must use ORDER BY NAME in the sql query to get the desired result.
Hope to hear,
Rambo.
Main Topics
Browse All Topics





by: adilkhanPosted on 2003-05-26 at 22:03:06ID: 8587707
Try this Instead Make TWO rows for your if and else statements.
<%If tmp = rs("name") Then%>
<tr>
<td> </td></tr>
<%Else%>
<tr>
<td>rs("name")</td>
</tr>
<%
End If
tmp = rs("name")
%>