The requirement is to display rows of data on a classic ASP page for rows in a recordset. On each row we have a link at the end to show detailed information about the selected row. A snapshot of the code is as follows: Please do not mind the html tags.
Expand|Select|Wrap|Line Numbers
- <table>
- <th>Ticket number</th>
- <th>Opened on</th>
- <th>Priority</th>
- <th>Description</th>
- <th> </th>
- <%
- Set rs = rs.NextRecordSet()
- do while not rs.EOF
- %>
- <tr><td nowrap>
- <b>
- <%=rs("CallID")%>
- </b></td>
- <td><%=rs("DateEntered")%></td>
- <td align="center" nowrap><%=rs("PriorityID")%></td>
- <td width="50%"><%=rs("Subject")%></td>
- <td valign="bottom" nowrap><a href="viewticket.asp?callid=<%=rs("CallID")%>">View detail <img border=0 src="/support/images/right.gif"></a></td>
- </tr>
- <%
- rs.MoveNext
- Loop
- %>
- </table>
Any advise help will be appreciated.
Thanks,
jmash