Displaying Data Question ...
-
I want to display data in the following format: Client Name #1 Project #1 Project #2 Client Name #2 Project #1 Project #2 Project #3 ... I am querying a database and bringing back the information in the format:
CLIENT_NAME PROJECT_NAME
Client Name #1 Project #1
Client Name #1 Project #2
Client Name #2 Project #1
Client Name #2 Project #2
Client Name #2 Project #3I would like to use a single DataSet, DataGrid or Repeater ... but is this possible? Any suggestions on how to do this because from what I can see there is not a way to make an ItemTemplate change its output when an item in the data has changed. For exmaple, when it finds a new CLIENT_NAME write it out once and then only display the PROJECT_NAME after that until it reaches the end or finds a new CLIENT_NAME.
Wally Atkins
Newport News, VA, USA