ASP.Net - DataRepeater with multiple templates and multiple datasources in one

Posted by NicoJuicy on Stack Overflow See other posts from Stack Overflow or by NicoJuicy
Published on 2010-04-12T13:21:37Z Indexed on 2010/04/12 13:23 UTC
Read the original article Hit count: 414

Filed under:
|

This is my problem.

I'm using different sql-queries for fetching some people, some come from my database and some come from an external database.

They are all sorted in the same "list", only the difference is, that the people who come from our database will have a different lay-out and there will be less of them in a row (eg. 1 in a row), the list of people who come from the external database will be ordered by 3 (in a row).

How can i implement this using a repeater? And how would the pagination work?

Any "logical", working alternatives will be appreciated also, but i prefer to keep my current workflow to solve this problem.

Short: - Multiple datasources - Multiple templates for the different datasources (1 in a row, 3 in a row) - Pagination in this problem?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sql-server-express