A
author
How can I do the below classic ASP in .NET ??
- I have tried using a repeater, but can only get one long list, in my
ex. I need a list (contains 3 list)
TIA
---
Some data for the recordset...
--
groupID, item
1, item 1
1, item 2
1, item 3
2, item 4
2, item 5
3, item 6
--
<%
groupID = -1
do while not RS.EOF
if groupID <> RS("groupID") then
groupID = RS("groupID")
Response.Write(groupID)
end if
Response.Write(RS("item"))
RS.movenext
loop
%>
- I have tried using a repeater, but can only get one long list, in my
ex. I need a list (contains 3 list)
TIA
---
Some data for the recordset...
--
groupID, item
1, item 1
1, item 2
1, item 3
2, item 4
2, item 5
3, item 6
--
<%
groupID = -1
do while not RS.EOF
if groupID <> RS("groupID") then
groupID = RS("groupID")
Response.Write(groupID)
end if
Response.Write(RS("item"))
RS.movenext
loop
%>