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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataList Help

Status
Not open for further replies.

drew10

Programmer
Feb 26, 2002
123
US
I have a datalist that is in tabular format. It displays a list of employee names that is populated by "Select * from Employee Order by Company". I also want to categorize the employees by Company by showing a row with the company name everytime the company name changes in the data. In asp 3.0 all I had to do was:
dim currentCompany
currentCompany = ""
If currentCompany <> RS(&quot;Company&quot;) then
Response.write(&quot;<TR><TD>&quot; & RS(&quot;Company&quot;) & &quot;</TD></TR>&quot;)
currentCompany = RS(&quot;Company&quot;)
End If
How do I do this in asp+?
Thanks,
drew10
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top