Binding a ListBox Control into a Repeater Control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • koonda
    New Member
    • Oct 2006
    • 34

    Binding a ListBox Control into a Repeater Control

    Hi all,

    Currently I am doing a project in ASP.NET using C#. I posted this message before but that was a different approach. Now I want to implement it this way. I have a Database in SQL Server containing 5 tables. I have 5 Listbox Controls which I have populated from the 5 underlying tables.

    What I want to do is to bind the 5 Listbox Controls to the Repeater Control to display information. I can bind one ListBox to the Repeater Control. But when I try to bind the second ListBox it gives me an error message or it won't show the repeater when I select values from the Listboxes. Does anyone know how to bind More then one ListBox to a Repeater control.

    Thanks for your help.

    Looking forward to your reply.

    Koonda
  • bplacker
    New Member
    • Sep 2006
    • 121

    #2
    whats the error message?

    Comment

    • koonda
      New Member
      • Oct 2006
      • 34

      #3
      Actaully there are no errors but the main problem is that how can I bind the 5 Listboxe controls to a single Repeator Control. I have populated the 5 Listbox controls from the underlying database tables. Whenever the user selects values from each listbox controls the result should be displayed in the Repeater control. I can bind one listbox to the Repeater but I can't bind all five listboxes at the same time. Could you please help me.
      Looking forward to your reply

      Thanks for your help,

      Koonda

      Comment

      Working...