Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8800549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:37:11+00:00 2026-06-14T00:37:11+00:00

Is it possible, to bind two Lists to a Repeater(which creates a Table), to

  • 0

Is it possible, to bind two Lists to a Repeater(which creates a Table), to use Data from both Lists?
I have a List with actions and a List with Users. I would like to display some Information about the Action, and about the User who issued the Action. Can I combine the Information about the Action with the Information about the User?

Here’s a Sketch of the Table, how it should look like:

ID | Time | Info about Action | UserID | Full Name |Info about User

Jopi

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:37:12+00:00Added an answer on June 14, 2026 at 12:37 am

    Rather than binding two data sources and trying to have the Repeater sort it out, what you need to do is combine the data into a single item before you bind it to the repeater.

    As to how you do that, it will depend on how your data is structured.

    If the item at the same indexes of both lists are the items that “belong together” then you could just use Zip.

    var query = actions.Zip(users, (a,b)=> new CombinedStructure(a,b));
    

    You could either create a new custom type to store the data that needs to be in each displayed row, or use an anonymous type and assign each field manually.

    If the indexes don’t correspond then you’ll likely need a join

    var query = from action in actions
                join user in users
                on user.ID = action.UserID
                select ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to row bind two data frames that don't have the same
I have a scenario where I need to bind two properties from one class
Is that even possible? I have two ObservableCollections. I want to bind and populate
I have two WPF list boxes. One is a list of lists (actually a
Is it possible to bind two different data to the same DataGrid column. Say
Possible Duplicate: Bind multiple events to jQuery 'live' method I have the following function:
Is it possible to bind the current item to a tag in button from
How is it possible to make knockout data-bind work on dynamically generated elements? For
Is that possible to bind two dataset at a same time in asp.net crystal
I'm building simple query builder, and I have two questions: Is it possible to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.