Supress repeating values in gridview

S

Swede.Swede

Hello!

Customer wants a gridview displaying individuals who have taken part
in courses. The gridview should be sorted by the name of the
participant. If a person has taken part in several courses, the name
should only be stated once. Example:
Course Participant Date
Skateboarding John Doe May 1st 2007
Sailing Mary Doe June 5th 2007
Skateboarding June 10th 2007
Parasailing Ken Foll June 8th 2007

Since Mary has taken part in two courses (sailing and skateboarding)
her name should be stated only once.
How can I achieve this?

TIA

Regards!
 
E

Eliyahu Goldin

Handle the gridview's PreRender event. In the event loop through the Rows
collection, detect rows with the same Participant values and replace
repeating values with empty string.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top