Different template depending on a field in the database???

G

Gigital

Can anyone give me an idea of a way of building a databound control to solve
this problem:
I need a templated databound control, that use a different template
depending on a field in the data. I should have most of the functionality of
the repeater control, but be able to support different 'types' of
itemtemplate and maybe even alteratingitemtemplate, and, if is possible,
that support paging.
For example:
I need to visualize a list of visit card with a different layout depending
by the photo of the single person is present in the database.

Sorry for my english...
Gigi
 

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,890
Messages
2,569,972
Members
46,309
Latest member
SashaPurto

Latest Threads

Top